twoway

Function find_str

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

find_str finds the first ocurrence of pattern in the text.

Uses the SSE42 version if it is compiled in.