共用方式為


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);
[<Android.Runtime.Register("deleteCharAt", "(I)Ljava/lang/StringBuilder;", "")>]
member this.DeleteCharAt : int -> Java.Lang.StringBuilder

Parameters

index
Int32

the index of the character to delete.

Returns

Attributes

Exceptions

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

Remarks

Java documentation for java.lang.StringBuilder.deleteCharAt(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