Java.Lang.StringBuffer.Replace Method
Replaces the characters in the specified range with the contents of the specified string.

Syntax

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

Parameters

start
the inclusive begin index.
end
the exclusive end index.
string
the string that will replace the contents in the range.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.StringIndexOutOfBoundsExceptionif start or end are negative, start is greater than end or end is greater than the length of s.

Remarks

Replaces the characters in the specified range with the contents of 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