Anonymous user
Substring/Top and tail: Difference between revisions
→{{header|Nim}}: Show handling of utf-8 as unicode
(→{{header|Nim}}: Show handling of utf-8 as unicode) |
|||
Line 1,115:
=={{header|Nim}}==
<lang nim>
echo(s.substr(1))▼
let s = "Hänsel ««: 10,00€"
echo(s.
echo(s
# using the runes type and slices
let r = s.toRunes
echo(r[1 .. ^2])</lang>
{{out}}
<pre>
Hänsel ««: 10,00
änsel ««: 10,00
=={{header|Objeck}}==
|