downcase

str.downcase â new_str
Instance Public methods

Returns a copy of str with all uppercase letters replaced with their lowercase counterparts. The operation is locale insensitiveâonly characters âA'' to âZ'' are affected. Note: case replacement is effective only in ASCII region.

"hEllO".downcase   #=> "hello"
doc_ruby_on_rails
2015-05-15 15:35:52
Comments
Leave a Comment

Please login to continue.