RosettaCodeData/Task/Substring-Top-and-tail/SNOBOL4/substring-top-and-tail.sno
Ingy döt Net 68f8f3e56b all tasks
2013-04-11 01:07:29 -07: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