Partager via


StringBuilder.Delete(Int32, Int32) Method

Definition

Deletes a sequence of characters specified by start and end.

[Android.Runtime.Register("delete", "(II)Ljava/lang/StringBuilder;", "")]
public Java.Lang.StringBuilder Delete (int start, int end);
[<Android.Runtime.Register("delete", "(II)Ljava/lang/StringBuilder;", "")>]
member this.Delete : int * int -> Java.Lang.StringBuilder

Parameters

start
Int32

the inclusive start index.

end
Int32

the exclusive end index.

Returns

Attributes

Exceptions

if start is less than zero, greater than the current length or greater than end.

Remarks

Java documentation for java.lang.StringBuilder.delete(int, int).

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