method

reverse

Importance_1
Ruby latest stable (v1_8_6_287) - 0 notes - Class: String
reverse() public

Returns a new string with the characters from str in reverse order.

   "stressed".reverse   #=> "desserts"
Show source
Register or log in to add new notes.