in reply to Capitalize the first letter of each word
Are you trying w/regular expression approach or other?
For non-re, lookup split, map, lc, ucfirst, and join in perldoc perlfunc. For re, you can a word boundry \b (see perldoc perlre) followed by a lower case letter and then uc it (look at the /e modifier).
Update: sauveant beat me to the search for the recent thread
Update: sauveant beat me to the search for the recent thread
|
---|
In Section
Seekers of Perl Wisdom