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 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.1
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
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.8
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.8