deleteCharAt

Deprecated

Warning since 1.4

Error since 1.6

Use deleteAt(index: Int) instead

Replace with

deleteAt(index)

Removes the character at the specified index from this string builder and returns this instance.

If the Char at the specified index is part of a supplementary code point, this method does not remove the entire supplementary character.

Since Kotlin

1.3

Parameters

index

the index of Char to remove.

Throws

if index is out of bounds of this string builder.

Deprecated

Warning since 1.4

Error since 1.6

Use deleteAt(index: Int) instead

Replace with

deleteAt(index)

Removes the character at the specified index from this string builder and returns this instance.

If the Char at the specified index is part of a supplementary code point, this method does not remove the entire supplementary character.

Since Kotlin

1.8

Parameters

index

the index of Char to remove.

Throws

if index is out of bounds of this string builder.

Deprecated

Warning since 1.4

Error since 1.6

Use deleteAt(index: Int) instead

Replace with

deleteAt(index)

Removes the character at the specified index from this string builder and returns this instance.

If the Char at the specified index is part of a supplementary code point, this method does not remove the entire supplementary character.

Since Kotlin

1.8

Parameters

index

the index of Char to remove.

Throws

if index is out of bounds of this string builder.