HI !
I'm new here but I have a problem right at the beginning with the utf8
example :
x="őlma"
see len(x)
see x[1]
result :
alma
5
┼
How can i get the the number of codepoints :? 4
and the first character ? ő
How can i iterate the string ?
Thank you in advance Attila
load "stzlib.ring"
o1 = new StzString("őlma")
? o1.NumberOfChars() #--> 4
? o1[1] #--> "ő"
--
---
You received this message because you are subscribed to the Google Groups "The Ring Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ring-lang+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ring-lang/c2590065-8707-4880-9b0d-f3a6852b953cn%40googlegroups.com.