Skip to main content

byte_index

Function byte_index 

pub fn byte_index(s: &str, chars: usize) -> usize
Expand description

The byte index of character chars in s (its length past the end).