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 updated
Was this helpful?