Mono Class Library: System.Text.StringBuilder Overview | MembersSystem.Text.StringBuilder.Replace Method |
Replaces all instances of a specified character in a specified range with another specified character. [Edit]
|
The current instance after substitution has occurred. [Edit]
Type Reason ArgumentOutOfRangeException The sum of startIndex and count is larger than the length of the current instance
-or-
startIndex or count is less than zero.
[Edit]
This method substitutes each occurrence of oldChar in the specified range of the current instance with newChar.
This method is case-sensitive.
[Edit]
Namespace: System.Text
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0