Function utf_strlen

Function Documentation

usize utf_strlen(string s)

Counts number of characters (runes) in a UTF-8 string. Not the number of bytes, which is s.len.