Substring/Top and tail: Difference between revisions

m
m (→‎{{header|Wren}}: Minor tidy)
Line 734:
 
=={{header|EasyLang}}==
<syntaxhighlight lang="easylang">
strings$ = "EasyLangEasylang"
print substr strings$ 1 len strings$ - 1 # Without the last character
print substr strings$ 2 len strings$ - 1 # Without the first character
print substr strings$ 2 len strings$ - 2 # Without the first and last characters
</syntaxhighlight>
{{out}}
<pre>
Easylan
EasyLan
asylang
asyLang
asylan
asyLan
</pre>
 
1,995

edits