Reverse
type
returns
Getter
string

Explanation

Returns the reverse of a string. Handles unicode surrogates.

Examples

"πŸπŸ‘".rev == "πŸ‘πŸ"
"Hello! Hi!" == "!iH !olleH"
"Hi".rev == "iH"
"".rev == ""
Last modified 1yr ago
Copy link