Jump to content

Substring/Top and tail: Difference between revisions

Line 657:
Print Left$(string$, (Len(string$) - 1))
Print Mid$(string$, 2, (Len(string$) - 2))</lang>
 
=={{header|LiveCode}}==
<lang LiveCode>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</lang>
 
=={{header|Locomotive Basic}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.