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
"MY STRING HERE".titlecase
Does the job (it's a method in the Rails gem, however) http://apidock.com/rails/String/titlecase