String.toUpperCase
Class Overview | Class Members |
This Package |
All Packages
public String toUpperCase( Locale locale )
Parameters
- locale
- use the case transformation rules for this locale
Returns
the String, converted to uppercase.
Description
Converts all of the characters in this String to upper
case using the rules of the given locale.
See Also
toUpperCase, toLowerCase
public String toUpperCase()
Returns
the string, converted to uppercase.
Description
Converts this string to uppercase.
If no character in this string has a different uppercase version,
based on calling the toUpperCase method defined by
Character, then the original string is returned.
Otherwise, a new string is allocated, whose length is identical
to this string, and such that each character that has a different
uppercase version is mapped to this uppercase equivalent.
See Also
toUpperCase, toLowerCase