ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

7
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.

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