Skip to main content

char_byte_range

Function char_byte_range 

Source
pub fn char_byte_range(text: &str, char_pos: usize) -> Option<(usize, usize)>
Expand description

Get the byte range for a character at a given character position