Skip to main content

replacechar

Function replacechar 

Source
pub fn replacechar(s: &mut String, from: char, to: &str)
Expand description

Replaces all occurrences of character from with string to in place.