kotlin string length
snippet in kotlin

kotlin string length

user1817

val hello = "Hello World"
    
    // Use .length to get length of string
    val stringLength = hello.length