Thursday, December 29, 2016

LCase Function

LCase Function

Returns a String that has been converted to lowercase.

Syntax

LCase ( string )

The required stringargument is any valid string expression. If string contains Null, Null is returned.

Remarks

Only uppercase letters are converted to lowercase; all lowercase letters and nonletter characters remain unchanged.

Example

Note: Examples that follow demonstrate the use of this function in a Visual Basic for Applications (VBA) module. For more information about working with VBA, select Developer Reference in the drop-down list next to Search and enter one or more terms in the search box.

This example uses the LCase function to return a lowercase version of a string.

Dim UpperCase, LowerCase
Uppercase = "Hello World 1234" ' String to convert.
Lowercase = Lcase(UpperCase) ' Returns "hello world 1234"

No comments:

Post a Comment