beautypg.com

Upper – Visara Master Console Center Scripting Guide User Manual

Page 205

background image

Chapter 5 Script Commands

Scripting Guide

205

UPPER

Syntax:

UPPER( $String) ==> $UpperString

Description:

Converts lowercase characters to uppercase.

Action:

The lowercase characters of an evaluated string expression are
converted to uppercase characters.

Parameters:

$String. String expression. The character string to convert to

uppercase.

Returns:

String value. A copy of the evaluated string expression with all

alphabetic characters in uppercase. All of the other characters remain
the same as in the original expression.

Notes:

1. The original string expression is not changed.
2. Only the alphabetic characters are converted; numeric and special

characters are not changed.

Example:

$UpperCaseText := UPPER( $Original)
$Text := UPPER( $Text)
IF UPPER( $Name) == “FRED”
//some

commands

ENDIF

See Also:

LOWER