W3cubDocs

/Kotlin

toUpperCase

inline fun Char.toUpperCase(): Char

Converts this character to uppercase.

inline fun String.toUpperCase(): String

Returns a copy of this string converted to upper case using the rules of the default locale.

inline fun String.toUpperCase(locale: Locale): String

Platform and version requirements: JVM

Returns a copy of this string converted to upper case using the rules of the specified locale.

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/to-upper-case.html