Skip to main content

count_utf16_string

Function count_utf16_string 

Source
pub fn count_utf16_string(s: &str) -> usize
Expand description

Counts the number of UTF-16 code units in a string.