indexof

Function indexof 

Source
pub fn indexof(s: &str, searchstring: &str, start_index: usize) -> Option<usize>
Expand description

Get the character position from one string into another. Start searching from character index ‘start_index’. Returns None if not found. Index of the first character is 0.