Is there an easy way to determine how many bytes a rune uses?
The question was more centered around what the procedure of runeAt is for, not
as much looking for a way to do what I have the code for.
does runeAt have any practical use?
Oh and the name is a declaration of intent, not a statement of capability.
Perhaps I am doing something wrong (just learning nim) but the following code
is outputting "extra" characters
> var str = "u5f7cu884cu3067"
>
> for key, value in pairs(str):
> echo runeAt(str, key)
which outputs:
> 彼
½ ¼ 行 ¡ Œ で §