RosettaCodeData/Task/Substring-Top-and-tail/SNOBOL4/substring-top-and-tail.sno
2023-07-01 13:44:08 -04:00

3 lines
209 B
Text

"knight" len(1) rem . output ;* strip first character
"socks" rtab(1) . output ;* strip last character
"brooms" len(1) rtab(1) . output ;* strip both first and last characters