Hello!

D language specification says that it supports UTF-8 strings, but I can't
find how to slice UTF-8 string by character index, not by bytes numbers.
Why there is no simple slice function in std.utf like attached code?

Thank you in advance.

--
Nikolay Krivchenkov aka unDEFER
registered Linux user #360474
Don't worry, I can read OpenOffice.org

Attachment: slice-utf-8.d
Description: Binary data

_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to