replace

Function replace 

Source
pub fn replace(text: &str, search: &str, replace_with: &str) -> Result<String>
Expand description

Replaces all occurrences of search with replace_with.