String::Replace Method
.NET Framework (current version)
Returns a new string in which all occurrences of a specified Unicode character or String in the current string are replaced with another specified Unicode character or String.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | Replace(Char, Char) | Returns a new string in which all occurrences of a specified Unicode character in this instance are replaced with another specified Unicode character. |
![]() | Replace(String^, String^) | Returns a new string in which all occurrences of a specified string in the current instance are replaced with another specified string. |
Show:
