ranking Sort Sort   |   date Sort Sort   |   member Sort Sort

Date Submitted Mon. Nov. 6th, 2006 1:48 PM
Revision 1
Helper RobHarrigan
Tags "first | "title | capitalize | case" | letter" | Perl
Comments 3 comments
Function to capitalize the first letter in every word in a string, but only if the entire string is in ALL CAPS.

"I LIKE TO SCREAM" becomes "I Like To Scream"
"I LIKE to RUN" remains "I LIKE to RUN".