Oskar Linde wrote: > It is easy to implement your own character count though: > > size_t count(char[] arr) { > size_t c = 0; > foreach(dchar c;arr) > c++; > return c; > } > > assert("тест".count() == 4); std.utf.toUCSindex(s, s.length) will also give the character count.