I\'m running Rails 2.3.2.
How do I convert \"Cool\" to \"cool\"? I know \"Cool\".downcase works, but is there a Ruby/Rails method
\"Cool\"
\"cool\"
\"Cool\".downcase
You could also do this with a simple sub:
sub
"Cool".sub(/^[A-Z]/) {|f| f.downcase }