Skip to main content

first_found

Function first_found 

Source
pub fn first_found(text: &str, needles: &[&'static str]) -> Option<&'static str>
Expand description

The first needle the text holds, as the literal a reader can search.