You can use a std library extention function on String `uppercase()`
val foo = "foo" val foo2 = foo.uppercase() // FOO
https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.text/uppercase.html