count_occurrences

Function count_occurrences 

Source
pub fn count_occurrences(s: &str, substring: &str) -> usize