Skip to main content

replace

Function replace 

Source
pub fn replace<S: AsRef<str>>(s: S, from: &str, to: &str) -> String
Expand description

Replace all occurrences