RosettaCodeData/Task/Substring-Top-and-tail/LiveCode/substring-top-and-tail.livecode
2016-12-05 23:44:36 +01:00

4 lines
126 B
Text

put "pple" into x
answer char 2 to len(x) of x // pple
answer char 1 to -2 of x // ppl
answer char 2 to -2 of x // ppl