STR_UC, CONV_UC

Script Functions: Converts all characters of a string to upper case

Syntax

STR_UC (String)
CONV_UC (String)

Syntax

Description/Format

String

Alphanumeric string
Format: script literal or script variable


Return code

String in which all letters are written in upper case

Comments

Both script functions are functionally identical.

Examples

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

CONV_LC or STR_LC

Converts all characters of a string to lower case

Script Elements - Strings

About Scripts
Script Elements - Alphabetical Listing

Script Elements - Ordered by function