Jump to content

Substring/Top and tail: Difference between revisions

(add →‎Joy)
Line 703:
<syntaxhighlight lang="easylang">
string$ = "EasyLang"
print substr string$ 1 len string$ - 1 # Without the firstlast character
print substr string$ 2 len string$ - 1 # Without the lastfirst character
print substr string$ 2 len string$ - 2 # Without the first and last characters
</syntaxhighlight>
2,058

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.