RosettaCodeData/Task/Reverse-a-string/TAV/reverse-a-string.tav

4 lines
71 B
Plaintext

str =: 'asdf'
rstr =: str::from -1 step -1
print str, rstr