http://qs1969.pair.com?node_id=471292

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.
Any help?
Like:
"THIS IS TESTING"
"JOE MARCONES"
"RESIDENTIAL MAINTENANCE COMPANY"

It has to be:
"This Is Testing"
"Joe Marcones"
"Residential Maintenance Company"

Thanks, again!

Edited by Arunbear: Changed title from 'Regular Expression', as per Monastery guidelines