get

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

Throws

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

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

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.

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

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

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.