Reverse (.rev)

type returns
Getter string

Explanation

Returns the reverse of a string. Handles unicode surrogates.

Examples

"🐐🐑".rev == "🐑🐐"
"Hello! Hi!" == "!iH !olleH"
"Hi".rev == "iH"
"".rev == ""

results matching ""

    No results matching ""