Skip to main content

find

Function find 

Source
pub fn find(
    pattern: &str,
    flags: &str,
    haystack: &[u8],
) -> Option<(usize, usize)>
Expand description

Find the byte-offset span of the first match in haystack.