Skip to main content

find

Function find 

Source
pub fn find<'h>(pattern: &str, haystack: &'h str) -> Option<Match<'h>>
Expand description

Search for the first match of pattern in haystack.