get

open operator override fun get(index: Int): Char(source)

Returns the character of this string at the specified index.

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

Since Kotlin

1.0
open operator external override fun get(index: Int): Char(source)

Returns the character of this string at the specified index.

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

Since Kotlin

1.3