Caché Basic Reference
LCase
[Back] [Next]
   
Server:docs1
Instance:LATEST
User:UnknownUser
 
-
Go to:
Search:    

Returns a string that has been converted to lowercase.
Synopsis
LCase(string)
Arguments
The string argument is any valid string expression.
Description
Only uppercase letters are converted to lowercase. Lowercase letters and non-letter characters remain unchanged.
Examples
The following example uses the LCase function to convert uppercase letters to lowercase:
Dim MyString
MyString = "Caché from InterSystems"
Println LCase(MyString) ' Returns "caché from intersystems"
 
The following example converts the first four letters of the Greek alphabet from uppercase to lowercase:
Dim MyString
MyString = Chr(913)&Chr(914)&Chr(915)&Chr(916)
Println MyString
Println LCase(MyString)
 
(Note that the above example requires a Unicode installation of Caché.)
See Also