RosettaCodeData/Task/Reverse-a-string/Maxima/reverse-a-string.maxima

4 lines
105 B
Plaintext

sreverse("abcdef"); /* "fedcba" */
sreverse("rats live on no evil star"); /* not a bug :o) */