kotlinlang. org/api/latest/jvm/stdlib/kotlin/-string/index.html code example
Example: Kotlin get char in string
val hello = "Hello World"
// Using get() function
val W = hello.get(6)
// Using indexing
val e = hello[1]
val hello = "Hello World"
// Using get() function
val W = hello.get(6)
// Using indexing
val e = hello[1]