get

Common
JVM
JS
Native
1.0
operator fun get(index: Int): Char
(Common source) (JS source) (Native source)
For Common, JVM

Returns the array element at the given index. This method can be called using the index operator.

If the index is out of bounds of this array, throws an IndexOutOfBoundsException except in Kotlin/JS where the behavior is unspecified.

For JS

Returns the array element at the given index. This method can be called using the index operator.

For Native

Returns the array element at the given index. This method can be called using the index operator.

If the index is out of bounds of this array, throws an IndexOutOfBoundsException.