STR_LC, CONV_LC
Use the STR_LC or CONV_LC script function to convert all characters in a string to lowercase. These two functions are functionally identical.
Syntax
STR_LC (String)
CONV_LC (String)
Parameters
| Parameter | Description | Format |
|---|---|---|
| String | The alphanumeric string to convert to lowercase | Script literal or script variable |
Return Codes
| Return Value | Condition |
|---|---|
| String | The input string with all letters converted to lowercase |
Examples
The following two examples both convert a string to lowercase — the first using a string literal, the second using a script variable. The results are abcdefgh 123&%$§ and ucaagx.htm respectively.
: SET &STRING# = CONV_LC ("ABCDEFGH 123&%$§")
: SET &NAME# = "UCAAGX.HTM"
: SET &STRING# = STR_LC (&NAME#)
See also: