String.toUpperCase()
Signature
String toUpperCase (String s1)
Domain
action, condition, query
Description
Converts all of the characters in the String passed to upper case
using the rules of the default locale.
Parameters
Name | Type | Description |
s1 | String | A String to convert to upper case. |
Returns
Type | Description |
String | A String identical to the String passed in except that all
chars have been converted to upper case. |
Example
String result = String.toUpperCase ("This is a test");
Result is:
result contains: "THIS IS A TEST".