Function twoway::find_str [] [src]

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

find_str finds the first ocurrence of pattern in the text.

Uses the SSE42 version if it is compiled in.