Jump to content

Substring/Top and tail: Difference between revisions

m
Line 476:
2013-09-04 17:08:09.455 a.out[2257:507] ημοτικ</pre>
=={{header|Elena}}==
ELENA 3.24 :
<lang elena>import extensions.
 
programpublic =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>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.