Substring/Top and tail: Difference between revisions
Content added Content deleted
m (→{{header|Wren}}: Minor tidy) |
|||
Line 734: | Line 734: | ||
=={{header|EasyLang}}== |
=={{header|EasyLang}}== |
||
<syntaxhighlight |
<syntaxhighlight> |
||
s$ = "Easylang" |
|||
print substr |
print substr s$ 1 len s$ - 1 |
||
print substr |
print substr s$ 2 len s$ - 1 |
||
print substr |
print substr s$ 2 len s$ - 2 |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
{{out}} |
{{out}} |
||
<pre> |
<pre> |
||
Easylan |
|||
EasyLan |
|||
asylang |
|||
asyLang |
|||
asylan |
|||
asyLan |
|||
</pre> |
</pre> |
||