uppercase
Converts this character to upper case using Unicode mapping rules of the invariant locale.
This function supports one-to-many character mapping, thus the length of the returned string can be greater than one. For example, '\uFB00'.uppercase()
returns "\u0046\u0046"
, where '\uFB00'
is the LATIN SMALL LIGATURE FF character (ff
). If this character has no upper case mapping, the result of toString()
of this char is returned.
Since Kotlin
1.5Samples
Returns a copy of this string converted to upper case using Unicode mapping rules of the invariant locale.
This function supports one-to-many and many-to-one character mapping, thus the length of the returned string can be different from the length of the original string.
Since Kotlin
1.5Samples
Converts this character to upper case using Unicode mapping rules of the invariant locale.
This function supports one-to-many character mapping, thus the length of the returned string can be greater than one. For example, '\uFB00'.uppercase()
returns "\u0046\u0046"
, where '\uFB00'
is the LATIN SMALL LIGATURE FF character (ff
). If this character has no upper case mapping, the result of toString()
of this char is returned.
Since Kotlin
1.5Samples
Returns a copy of this string converted to upper case using Unicode mapping rules of the invariant locale.
This function supports one-to-many and many-to-one character mapping, thus the length of the returned string can be different from the length of the original string.
Since Kotlin
1.5Samples
Converts this character to upper case using Unicode mapping rules of the specified locale.
This function supports one-to-many character mapping, thus the length of the returned string can be greater than one. For example, '\uFB00'.uppercase(Locale.US)
returns "\u0046\u0046"
, where '\uFB00'
is the LATIN SMALL LIGATURE FF character (ff
). If this character has no upper case mapping, the result of toString()
of this char is returned.
Since Kotlin
1.5Samples
Returns a copy of this string converted to upper case using the rules of the specified locale.
This function supports one-to-many and many-to-one character mapping, thus the length of the returned string can be different from the length of the original string.
Since Kotlin
1.5Samples
Converts this character to upper case using Unicode mapping rules of the invariant locale.
This function supports one-to-many character mapping, thus the length of the returned string can be greater than one. For example, '\uFB00'.uppercase()
returns "\u0046\u0046"
, where '\uFB00'
is the LATIN SMALL LIGATURE FF character (ff
). If this character has no upper case mapping, the result of toString()
of this char is returned.
Since Kotlin
1.5Samples
Returns a copy of this string converted to upper case using Unicode mapping rules of the invariant locale.
This function supports one-to-many and many-to-one character mapping, thus the length of the returned string can be different from the length of the original string.
Since Kotlin
1.5Samples
Converts this character to upper case using Unicode mapping rules of the invariant locale.
This function supports one-to-many character mapping, thus the length of the returned string can be greater than one. For example, '\uFB00'.uppercase()
returns "\u0046\u0046"
, where '\uFB00'
is the LATIN SMALL LIGATURE FF character (ff
). If this character has no upper case mapping, the result of toString()
of this char is returned.
Since Kotlin
1.5Samples
Returns a copy of this string converted to upper case using Unicode mapping rules of the invariant locale.
This function supports one-to-many and many-to-one character mapping, thus the length of the returned string can be different from the length of the original string.