Character.toUpperCase

Character.toUpperCase

Class Overview | Class Members | This Package | All Packages

Syntax
public static char toUpperCase( char ch )
Parameters
ch
the character to be converted.
Returns
the uppercase equivalent of the character, if any; otherwise the character itself.
Description
Converts the character argument to uppercase. A character has an uppercase equivalent if and only if an uppercase mapping is specified for the character in the Unicode attribute table.

Note that some Unicode characters in the range '\u2000' to '\u2000FFF' have uppercase mappings; this method does map such characters to their titlecase equivalents even though the method isLowerCase does not return true for such characters.

See Also
isLowerCase, isUpperCase, toLowerCase, toTitleCase