Skip to main content

char_count

Function char_count 

Source
pub fn char_count(text: &str, start_byte: usize, end_byte: usize) -> usize
Expand description

UTF-8 character count in text[start_byte..end_byte].