On Friday, 7 March 2014 at 20:27:38 UTC, H. S. Teoh wrote:
        s.indexOf("a");                       // for slicing
        s.byCodepoint.countUntil("a");        // count code points
        s.byGrapheme.countUntil("a"); // count graphemes

(BTW, byGrapheme is currently missing in the std.uni docs)

Reply via email to