Replaces all instances of a specified substring within
the current instance with another specified string.
[Edit]
Parameters
- oldValue
- A string containing the string value to be replaced.
[Edit]
- newValue
- A string containing the string value to replace all occurrences of oldValue. Can be a null reference.
[Edit]
Returns
A string equivalent to the current instance with all occurrences of
oldValue replaced with newValue. If the replacement value is a
null reference, the specified substring is removed.
[Edit]
Remarks
Requirements
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0