StringBuilder.Delete(Int32, Int32) 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);
member this.Delete : int * int -> Java.Lang.StringBuilder

Parameters

start
Int32 Int32

the inclusive start index.

end
Int32 Int32

the exclusive end index.

Returns

Exceptions

if start is less than zero, 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