RosettaCodeData/Task/Substring-Top-and-tail/LiveCode/substring-top-and-tail.livecode

5 lines
126 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
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