toUpperCase
Deprecated
Warning since 1.5
Use uppercaseChar() instead.
Replace with
uppercaseChar()
Converts this character to upper case using Unicode mapping rules of the invariant locale.
Since Kotlin
1.0Deprecated
Warning since 1.5
Use uppercase() instead.
Replace with
uppercase()
Returns a copy of this string converted to upper case using the rules of the default locale.
Since Kotlin
1.0Deprecated
Warning since 1.5
Use uppercaseChar() instead.
Replace with
uppercaseChar()
Converts this character to upper case using Unicode mapping rules of the invariant locale.
Since Kotlin
1.1Deprecated
Warning since 1.5
Use uppercase() instead.
Replace with
uppercase()
Returns a copy of this string converted to upper case using the rules of the default locale.
Since Kotlin
1.1Deprecated
Use uppercase() instead.
Replace with
uppercase(locale)
Returns a copy of this string converted to upper case using the rules of the specified locale.
Since Kotlin
1.0Deprecated
Use uppercaseChar() instead.
Replace with
uppercaseChar()
Converts this character to upper case using Unicode mapping rules of the invariant locale.
Since Kotlin
1.0Deprecated
Use uppercase() instead.
Replace with
import java.util.Locale
uppercase(Locale.getDefault())
Returns a copy of this string converted to upper case using the rules of the default locale.