kotlin.text.toUpperCase

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.