str.reverse â new_str
Instance Public methods
Returns a new string with the characters from str in reverse order.
"stressed".reverse #=> "desserts"
Returns a new string with the characters from str in reverse order.
"stressed".reverse #=> "desserts"
Please login to continue.