I\'m trying to convert an all-uppercase string in Ruby into a lower case one, but with each word\'s first character being upper case. Example:
convert \"MY STRING HE
If you're using Rails (really all you need is ActiveSupport, which is part of Rails), you can use titleize:
titleize
"MY STRING HERE".titleize # => "My String Here"