RosettaCodeData/Task/Reverse-a-string/Wortel/reverse-a-string.wortel

5 lines
132 B
Plaintext

; the @rev operator reverses strings and arrays
@rev "abc" ; returns "cba"
; or the same thing using a pointer expression
!~r "abc"