Jump to content

Substring/Top and tail: Difference between revisions

m
(→‎{{header|Python}}: (added other two example strings))
Line 508:
2013-09-04 17:08:09.455 a.out[2257:507] ημοτικ</pre>
=={{header|Elena}}==
ELENA 3.4.x :
<lang elena>import extensions.;
public program()
{
[
var testString := "test".;
console .printLine(testString .Substring(1)).;
console .printLine(testString .Substring(0, testString length.Length - 1)).;
console .printLine(testString .Substring(1, testString length.Length - 2)).
]}</lang>
{{out}}
<pre>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.