replace_all

Function replace_all 

Source
pub fn replace_all(text: &str, old_sub: &str, new_sub: &str)