Answers for "how to make char from a single string in kotlin"

1

Kotlin get char in string

val hello = "Hello World"

    // Using get() function
    val W = hello.get(6)

    // Using indexing
    val e = hello[1]
Posted by: Guest on October-27-2020

Code answers related to "how to make char from a single string in kotlin"

Browse Popular Code Answers by Language