Freigeben über


StringBuffer.Replace(Int32, Int32, String) Method

Definition

Added in 1.

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

Parameters

start
Int32

the inclusive begin index.

end
Int32

the exclusive end index.

str
String

Returns

Attributes

Exceptions

if start or end are negative, start is greater than end or end is greater than the length of s.

Remarks

Added in 1.2.

Java documentation for java.lang.StringBuffer.replace(int, int, java.lang.String).

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