|
|
|
|
|
by sundarurfriend
1605 days ago
|
|
Julia docs do a (surprisingly) good job of being clear and explicit about this: the docstring for `reverse(AbstractString)` says: > Reverses a string. Technically, this function reverses the codepoints in a string and its main utility is for reversed-order string processing [...]. See also [...] `graphemes` from module Unicode to operate on user-visible "characters" (graphemes) rather than codepoints. Properly reversing a string of flags (or any other grapheme clusters) is just a `using Unicode: grapheme` away. |
|