Replace a character in a string
the input string
the character to replace
the character to replace it with
str with all instances of from_char replaced by to_char
See Implementation
Replace a character in a string