Java.Lang.StringBuilder.Replace Method
Replaces the specified subsequence in this builder with the specified string.

Syntax

[Android.Runtime.Register("replace", "(IILjava/lang/String;)Ljava/lang/StringBuilder;", "")]
public StringBuilder Replace (int start, int end, string str)

Parameters

start
the inclusive begin index.
end
the exclusive end index.
string
the replacement string.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.StringIndexOutOfBoundsExceptionif start is negative, greater than the current length() or greater than end.
Java.Lang.NullPointerExceptionif str is null.

Remarks

Replaces the specified subsequence in this builder with the specified string.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1