Lcase Function in VB.NET
How to convert string to lower case in VB.NET?
Explanation
Lcase Function
Lcase Function in Visual Basic.net 2008 returns a string after converting to lowercase.
Syntax:
Function LCase(ByVal Value As Char) As Char
or
Function LCase(ByVal Value As String) As String
In the above syntax
String,
Char specifies the string or characters that need to be
convereted to lowercase.
Example:
Module Module1
Sub Main()
Dim Str As String = 'HSCRIPTS.COM'
Console.WriteLine('String in Lowercase is::' & LCase(Str))
Console.ReadLine()
End Sub
End Module
Result:
String in Lowercase is::hscripts.com
In the above example, the string 'HSCRIPTS.COM' is converted to lowercase alphabets.