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 (opens in a new tab) are respected).
strrev(string)Examples
> strrev("hello")
olleh
> strrev("a ☃")
☃ aRelated Functions
- reversereverses a sequence.