Answers for "kotlin define string with length"

0

kotlin string length

val hello = "Hello World"
    
    // Use .length to get length of string
    val stringLength = hello.length
Posted by: Guest on October-27-2020

Browse Popular Code Answers by Language