toUpperCase
Deprecated
Warning since 1.5
Error since 2.1
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
Error since 2.1
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
Error since 2.1
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
Error since 2.1
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
Warning since 1.5
Error since 2.1
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
Warning since 1.5
Error since 2.1
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
Error since 2.1
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.
Since Kotlin
1.0Deprecated
Warning since 1.5
Error since 2.1
Use uppercaseChar() instead.
Replace with
uppercaseChar()
Converts this character to upper case using Unicode mapping rules of the invariant locale.
Since Kotlin
1.3Deprecated
Warning since 1.5
Error since 2.1
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.3Deprecated
Warning since 1.5
Error since 2.1
Use uppercaseChar() instead.
Replace with
uppercaseChar()
Converts this character to upper case using Unicode mapping rules of the invariant locale.
Since Kotlin
1.8Deprecated
Warning since 1.5
Error since 2.1
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.8Deprecated
Warning since 1.5
Error since 2.1
Use uppercaseChar() instead.
Replace with
uppercaseChar()
Converts this character to upper case using Unicode mapping rules of the invariant locale.
Since Kotlin
1.8Deprecated
Warning since 1.5
Error since 2.1
Use uppercase() instead.
Replace with
uppercase()
Returns a copy of this string converted to upper case using the rules of the default locale.