StringBuilder.Replace(Int32, Int32, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
[<Android.Runtime.Register("replace", "(IILjava/lang/String;)Ljava/lang/StringBuilder;", "")>]
member this.Replace : int * int * string -> Java.Lang.StringBuilder
Parameters
- start
- Int32
the inclusive begin index.
- end
- Int32
the exclusive end index.
- str
- String
Returns
- Attributes
Exceptions
if start
is negative, greater than the current
length()
or greater than end
.
if str
is null
.
Remarks
Java documentation for java.lang.StringBuilder.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.