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