[phobos] UTF-8 string slicing
undefer at gmail.com
Thu Aug 18 02:21:29 PDT 2011
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...
Size: 895 bytes
Desc: not available
More information about the phobos