kotlin-stdlib / kotlin / String / length length Common JVM JS Native 1.0 val length : Int (Common source) (Native source) Returns the length of this character sequence.