EasyManua.ls Logo

Crestron SIMPL+ - Upper Function

Crestron SIMPL+
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Crestron SIMPL+
®
Software
Language Reference Guide - DOC. 5797G SIMPL+
®
z 233
Upper
Name:
Upper
Syntax:
STRING Upper(STRING SOURCE);
Description:
Takes a source string and converts characters with the values a-z (lowercase) to A-Z
(uppercase).
Parameters:
SOURCE is a string to be converted to uppercase. SOURCE is not modified, unless
it is also used as the return value, e.g., S$=UPPER(S$);
Return Value:
A STRING containing the uppercase version of SOURCE. Characters that do not fall
into the range a-z are not modified and will stay as specified.
Example:
STRING_INPUT IN$[100];
STRING UPPER$[100];
CHANGE IN$
{
UPPER$ = UPPER(IN$);
PRINT(“Uppercase version of %s is %s\n”,IN$, UPPER$);
}
In this example, if IN$ contains “Hello There 123!” then UPPER$ contains “HELLO
THERE 123!”.
Version:
SIMPL+ Version 1.00

Table of Contents