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"
Please login to continue.