strrev Function
strrev
reverses the characters in a string.
Note that the characters are treated as Unicode characters (in technical terms, Unicode grapheme cluster boundaries are respected).
Examples
Related Functions
reverse
reverses a sequence.
You are viewing documentation for pre-release version v1.10.0 (rc). View latest version.
strrev
reverses the characters in a string.
Note that the characters are treated as Unicode characters (in technical terms, Unicode grapheme cluster boundaries are respected).
strrev(string)
> strrev("hello")
olleh
> strrev("a ☃")
☃ a
reverse
reverses a sequence.