Script Functions: Converts all characters of a string to upper case
STR_UC(String)
CONV_UC(String)
|
Syntax |
Description/Format |
|---|---|
|
String |
Alphanumeric string |
|
Return code |
|---|
|
String in which all letters are written in upper case |
Both script functions are functionally identical.
In both examples, a string is converted to upper case. In the first example, the string is supplied as a string literal, in the second example as a script variable. The results are "ABCDEFGH 123&%$§" and "PLEASE START THE BACKUP ROUTINE!".
:SET &STRING# = CONV_UC("abcdefgh 123&%$§")
:SET &MSG# = "Please start the backup routine!"
:SET &STRING# = CONV_UC(&MSG#)
See also:
| Script element | Description |
|---|---|
| Converts all characters of a string to lower case |
About Scripts
Script Elements - Alphabetical Listing
Script Elements - Ordered by function