Navigation
Synopsis Return a string with all characters in reverse order.
Function str reverse(str s)
Usage import String;
Description Returns string with all characters of string s in reverse order.
Examples
rascal>import String;
ok
rascal>reverse("abc");
str: "cba"
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.