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

8 lines
158 B
Plaintext

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