Export (0) Print
Expand All

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".

Requirements

Namespace: Microsoft.VisualBasic

Module: Strings

Assembly: Microsoft Visual Basic .NET Runtime (in Microsoft.VisualBasic.dll)

See Also

Strings | String Manipulation | UCase Function

Show:
© 2014 Microsoft