StringBuilder.DeleteCharAt(Int32) StringBuilder.DeleteCharAt(Int32) Method

Definition

Deletes the character at the specified index. shifts any remaining characters to the left.

[Android.Runtime.Register("deleteCharAt", "(I)Ljava/lang/StringBuilder;", "")]
public Java.Lang.StringBuilder DeleteCharAt (int index);
member this.DeleteCharAt : int -> Java.Lang.StringBuilder

Parameters

index
Int32 Int32

the index of the character to delete.

Returns

Exceptions

if index is less than zero or is greater than or equal to the current length.

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