If a character occurs more than once in second argument string, then the first occurrence determines the replacement character.