RosettaCodeData/Task/Reverse-a-string/Euler/reverse-a-string.euler

4 lines
100 B
Plaintext

>function strrev (s) := chartostr(fliplr(strtochar(s)))
>strrev("This is a test!")
!tset a si sihT