toUpperCase
Deprecated
Use uppercaseChar() instead.
Replace with
uppercaseChar()
Content copied to clipboard
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
Content copied to clipboard
uppercase(Locale.getDefault())
Content copied to clipboard
Returns a copy of this string converted to upper case using the rules of the default locale.
Since Kotlin
1.0Deprecated
Use uppercase() instead.
Replace with
uppercase()
Content copied to clipboard
Returns a copy of this string converted to upper case using the rules of the default locale.
Since Kotlin
1.0Deprecated
Use uppercase() instead.
Replace with
uppercase(locale)
Content copied to clipboard
Returns a copy of this string converted to upper case using the rules of the specified locale.