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?
type
returns
Getter
string
Returns the reverse of a string. Handles unicode surrogates.
"🐐🐑".rev == "🐑🐐"
"Hello! Hi!" == "!iH !olleH"
"Hi".rev == "iH"
"".rev == ""
Last updated
Was this helpful?