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.
1 | "hEllO" .upcase #=> "HELLO" |
Please login to continue.