FUNCTION REFERENCE
reverse
Reverse the Unicode code points in each string.
Reverse the Unicode code points in each string.
Syntax
s = reverse(s)Combining marks are separate code points, not grapheme clusters.
Example
reverse(["ab" "cd"])Differences from MATLAB: bounded 2-D string storage (65536 elements, 2 MiB text); MAT persistence and N-D strings are not implemented.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.