produces:use strict; my $text = "to say it once"; $text =~ s/(\w+)/\u\L$1/g; print $text;
To Say It Once
In reply to Re: Capitalize the first letter of each word
by injunjoel
in thread Capitalize the first letter of each word
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |