[][src]Function tokenizers::tokenizer::get_range_of

pub fn get_range_of<T: RangeBounds<usize>>(s: &str, range: T) -> Option<&str>

Returns a range of the given string slice, by indexing chars instead of bytes