RosettaCodeData/Task/Substring-Top-and-tail/LiveCode/substring-top-and-tail.livecode
2023-07-01 13:44:08 -04: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