[phobos] UTF-8 string slicing
unDEFER
undefer at gmail.com
Thu Aug 18 02:21:29 PDT 2011
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slice-utf-8.d
Type: application/octet-stream
Size: 895 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/phobos/attachments/20110818/0cab1096/attachment.obj>
More information about the phobos
mailing list