RosettaCodeData/Task/Reverse-a-string/Sather/reverse-a-string.sa
2023-07-01 13:44:08 -04:00

7 lines
158 B
Text

class MAIN is
main is
s ::= "asdf";
reversed ::= s.reverse;
-- current implementation does not handle multibyte encodings correctly
end;
end;