Visual Basic Language Reference  

LCase Function

Returns a string or character converted to lowercase.

Public Shared Function LCase(ByVal Value As Char) As Char

-or-

Public Shared Function LCase(ByVal Value As String) As String

Parameter

Value
Required. Any valid String or Char expression.

Remarks

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

Example

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

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

See Also

UCase Function