upcase

str.upcase â new_str
Instance Public methods

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

"hEllO".upcase   #=> "HELLO"
doc_ruby_on_rails
2015-05-15 21:04:30
Comments
Leave a Comment

Please login to continue.