Idiom # 41: Reverse a string
Code
Reverse the string's codepoints and join them back into a string.
Runnable Example
Since this example reverse the codepoints and not bytes or utf16 chars, this also works for unicode chars outside the basic plane:
Reverse the string's codepoints and join them back into a string.
Since this example reverse the codepoints and not bytes or utf16 chars, this also works for unicode chars outside the basic plane: