RosettaCodeData/Task/Reverse-a-string/Sather/reverse-a-string.sa

8 lines
158 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
class MAIN is
main is
s ::= "asdf";
reversed ::= s.reverse;
-- current implementation does not handle multibyte encodings correctly
end;
end;