get

abstract operator fun get(index: Int): Char(source)

Returns the character at the specified index in this character sequence.

Since Kotlin

1.0

Throws

if the index is out of bounds of this character sequence.

Note that the String implementation of this interface in Kotlin/JS has unspecified behavior if the index is out of its bounds.

abstract operator fun get(index: Int): Char(source)

Returns the character at the specified index in this character sequence.

Since Kotlin

1.1

Throws

if the index is out of bounds of this character sequence.

Note that the String implementation of this interface in Kotlin/JS has unspecified behavior if the index is out of its bounds.

abstract operator fun get(index: Int): Char(source)

Returns the character at the specified index in this character sequence.

Since Kotlin

1.3

Throws

if the index is out of bounds of this character sequence.