Automation Engine Script Guide > Ordered by Function > Strings > STR_UC

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 scriptA particular Automation Engine object type. 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 variableA placeholder for a value within a script.. 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

 


Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support

Copyright © 2016 Automic Software GmbH