elementAt

expect fun CharSequence.elementAt(index: Int): Char(source)

Returns a character at the given index or throws an IndexOutOfBoundsException if the index is out of bounds of this char sequence.

Since Kotlin

1.0

Samples

actual fun CharSequence.elementAt(index: Int): Char(source)

Returns a character at the given index or throws an IndexOutOfBoundsException if the index is out of bounds of this char sequence.

Since Kotlin

1.1

Samples

actual inline fun CharSequence.elementAt(index: Int): Char(source)

Returns a character at the given index or throws an IndexOutOfBoundsException if the index is out of bounds of this char sequence.

Since Kotlin

1.0

Samples

actual inline fun CharSequence.elementAt(index: Int): Char(source)

Returns a character at the given index or throws an IndexOutOfBoundsException if the index is out of bounds of this char sequence.

Since Kotlin

1.3

Samples