BBjString::toUpperCase
Description
In BBj 7.0 and higher, this method converts all of the characters in this String to upper case using the rules of the default locale. This method is equivalent to toUpperCase(Locale.getDefault()).
NOTE: This method is locale sensitive, and may produce unexpected results if used for strings that are intended to be interpreted locale independently. Examples are programming language identifiers, protocol keys, and HTML tags. For instance, "title".toUpperCase() in a Turkish locale returns "T\u0130TLE", where '\u0130' is the LATIN CAPITAL LETTER I WITH DOT ABOVE character. To obtain correct results for locale insensitive strings, use toUpperCase(Locale.ROOT).
Syntax
Return Value |
Method |
---|---|
String |
toUpperCase() |
String |
toUpperCase(Locale locale) |
Parameters
Variable |
Description |
---|---|
locale |
Use the case transformation rules for this locale. |
Return Value
Returns the String, converted to uppercase.
Remarks
None.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.