toUpperCase

@DeprecatedSinceKotlin(warningSince = "1.5")
expect fun Char.toUpperCase(): Char

Converts this character to upper case using Unicode mapping rules of the invariant locale.


@DeprecatedSinceKotlin(warningSince = "1.5")
expect fun String.toUpperCase(): String

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

@DeprecatedSinceKotlin(warningSince = "1.5")
inline fun String.toUpperCase(locale: Locale): String

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


@DeprecatedSinceKotlin(warningSince = "1.5")
actual inline fun Char.toUpperCase(): Char

Converts this character to upper case using Unicode mapping rules of the invariant locale.


@DeprecatedSinceKotlin(warningSince = "1.5")
actual inline fun String.toUpperCase(): String

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

@DeprecatedSinceKotlin(warningSince = "1.5")
actual inline fun Char.toUpperCase(): Char

Converts this character to upper case using Unicode mapping rules of the invariant locale.


@DeprecatedSinceKotlin(warningSince = "1.5")
actual inline fun String.toUpperCase(): String

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

@DeprecatedSinceKotlin(warningSince = "1.5")
actual fun Char.toUpperCase(): Char

Converts this character to upper case using Unicode mapping rules of the invariant locale.


@DeprecatedSinceKotlin(warningSince = "1.5")
actual fun String.toUpperCase(): String

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