Returns a new string in which all occurrences of a specified Unicode character in this instance are replaced with another specified Unicode character.
A string that is equivalent to this instance except that all instances of oldChar are replaced with newChar. If oldChar is not found in the current instance, the method returns the current instance unchanged.
This method performs an ordinal (case-sensitive and culture-insensitive) search to find oldChar.
This method does not modify the value of the current instance. Instead, it returns a new string in which all occurrences of oldChar are replaced by newChar.