Skip to main content

substr_count

Function substr_count 

Source
pub fn substr_count(s: &str, needle: &str) -> usize
Expand description

Count occurrences of substring.