Skip to main content

holds_words

Function holds_words 

Source
pub fn holds_words(text: &str, query: &str) -> bool
Expand description

Whether a text holds every word of query as a search compares them: without regard to case or accents, each a whole word of the text, but the last, which may also start a longer one. A query without words is held by no text.