[go: up one dir, main page]

find_str

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