Uppercase String in Kotlin
Level 128 keystrokes
Converts a string to uppercase and prints it.
Kotlin code
// uppercase() returns a new string with all letters in uppercase// The original string is not changed; this prints HELLO1println("hello".uppercase())Output
HELLO
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(× 2)× 2.× 1