public static StringBuilder Replace(
this StringBuilder builder,
string oldValue,
string? newValue,
int startIndex
)<ExtensionAttribute>
Public Shared Function Replace (
builder As StringBuilder,
oldValue As String,
newValue As String,
startIndex As Integer
) As StringBuilderpublic:
[ExtensionAttribute]
static StringBuilder^ Replace(
StringBuilder^ builder,
String^ oldValue,
String^ newValue,
int startIndex
)[<ExtensionAttribute>]
static member Replace :
builder : StringBuilder *
oldValue : string *
newValue : string *
startIndex : int -> StringBuilder | ArgumentNullException | builder or oldValue is null. |
| ArgumentException | oldValue is Empty. |
| ArgumentOutOfRangeException | startIndex is less than zero. - or - startIndex indicates a character position not within builder. - or - Increasing the capacity of builder would exceed MaxCapacity. |