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 version v1.5.x. 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.