Function twoway::find_str[][src]

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 available at runtime.