contents.gifindex.gifprev1.gifnext1.gif

LCase, LCase$

Purpose

Returns a string in which all letters of an argument have been converted to lowercase.

Arguments

Lcase[$]( strexpr )

Notes

LCase returns a Variant; LCase$ returns a String. The argument strexpr can be any string expression. However, only LCase can accept a Variant of Null as strexpr, in which case, a null is returned. Only uppercase letters are converted to lowercase; all lowercase letters and nonletter characters remain unchanged.

Example

This example returns an all-lowercase version of the argument string.

X = Lcase( "ONCE UPON A TIME" )