Availability
This routine is available since katl-commons 2.5 (for JIRA 5.x) .
Syntax:
toUpper(string)
Description:
Returns the string only with upper case letters.Returns the given string that has it's letters converted to upper case. If the string contains other characters than letters the chars that are not letters will not be converted.
Parameters:
Parameter name | Type | Required | Description |
---|---|---|---|
string | string | Yes | Specifies a character expression that will be converted to upper case. |
Return type:
string
Example:
Example 1:
wret = toUpper("fOoBaR"); print(wret);
Prints "FOOBAR".
Example 2:
wret = toUpper("AbC2w&345f.ff"); print(wret);
Prints "ABC2W&345F.FF".
See Also: