Lower - Crestron SIMPL+ Reference Manual

Language reference guide
Hide thumbs Also See for SIMPL+:
Table of Contents

Advertisement

Software
®
226
SIMPL+

Lower

Name:
Lower
Syntax:
STRING Lower(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 lowercase. SOURCE is not modified, unless
it is also used as the return value, e.g., S$=LOWER(S$);
Return Value:
A STRING containing the lowercase 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 LOWER$[100];
CHANGE IN$
{
LOWER$ = LOWER(IN$);
PRINT("Lowercase version of %s is %s\n",IN$, LOWER$);
}
In this example, if IN$ contains "This is a Test 123!", then LOWER$ will contain
"this is a test 123!".
Version:
SIMPL+ Version 1.00
Crestron SIMPL+
Language Reference Guide - DOC. 5797G
®

Advertisement

Table of Contents
loading

Table of Contents