String Length in Kotlin
Level 124 keystrokes
Prints the length of the string "Kotlin".
Kotlin code
// The length property returns the number of characters// "Kotlin" has 6 characters, so this prints 61println("Kotlin".length)Output
6
Practice typing this code. Results are not recorded in the rankings.
Symbols in this code
The symbols you type in this Kotlin code and how often they appear.
"× 2.× 1(× 1)× 1