|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
LCase Function (Visual Basic)
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
Required. Any valid String or Char expression.
Only uppercase letters are converted to lowercase; all lowercase letters and nonletter characters remain unchanged.
This function uses the application's culture information when manipulating the string so that the case changes are appropriate for the locale in which the application is being used.
If your application makes security decisions based on the result of a comparison or case-change operation, then the operation should use the comparisonType argument. For more information, see .method, and pass or for the
Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)