StringBuilder.Replace(Int32, Int32, String) StringBuilder.Replace(Int32, Int32, String) Method

Definition

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

[Android.Runtime.Register("replace", "(IILjava/lang/String;)Ljava/lang/StringBuilder;", "")]
public Java.Lang.StringBuilder Replace (int start, int end, string str);
member this.Replace : int * int * string -> Java.Lang.StringBuilder

Parameters

start
Int32 Int32

the inclusive begin index.

end
Int32 Int32

the exclusive end index.

Returns

Exceptions

if start is negative, greater than the current length() or greater than end.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to