Substring/Top and tail: Difference between revisions

(Added ZX81 BASIC)
Line 475:
2013-09-04 17:08:09.454 a.out[2257:507] room
2013-09-04 17:08:09.455 a.out[2257:507] ημοτικ</pre>
=={{header|Elena}}==
ELENA 3.2 :
<lang elena>import extensions.
 
program =
[
var testString := "test".
console printLine(testString Substring(1)).
console printLine(testString Substring(0, testString length - 1)).
console printLine(testString Substring(1, testString length - 2)).
].</lang>
{{out}}
<pre>
est
tes
es
</pre>
 
=={{header|Elixir}}==
Anonymous user