[Source code]
REPCHR
Replace one character if a string with another
res = repchr(s, old, [new])
s - Original string old - Character to be replaced new - Replacing character
Rewritten from scratch, Christer Sandin, 2015