contains

Function contains 

Source
pub fn contains(s: &str, pattern: &str) -> bool
Expand description

Validates if a string contains a substring