toUTFindex
fn
size_t toUTFindex(const scope char[] s, size_t n) @safe pureGiven a UCS index n into an array of characters s[], return the UTF index.
fn
size_t toUTFindex(const scope wchar[] s, size_t n) @safe @nogc pure nothrowditto
fn
size_t toUTFindex(const scope dchar[] s, size_t n) @safe @nogc pure nothrowditto