Capitalize First Letter of Each Wordby Anonymous Monk
|on Jun 30, 2005 at 12:55 UTC||Need Help??|
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks, Would any one give a hand here on how to make every first letter of a string a capital letter. I have a list of names, but they are all in capital letters, I need to make only the first letters of every word on the string to be capital.
"THIS IS TESTING"
"RESIDENTIAL MAINTENANCE COMPANY"
It has to be:
"This Is Testing"
"Residential Maintenance Company"