On Fri, 19 Aug 2011 07:06:53 +0400, Sean Kelly <[email protected]> wrote:

I need to do this from time to time, but I generally just do something like:

buf[0 .. buf.toUCSindex(n)]

A shorthand might be nice though, I suppose.

Hm.. I don't know how it works for you, but for me this code doesn't work at all.

--
registered Linux user #360474
Don't worry, I can read OpenOffice.org
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to