Wednesday, August 11, 2010

Visual Basic String Function : LCase

Purpose : The LCase function returns a copy of a variant or a string in which all uppercase alphabetic characters have been converted to lowercase .

Syntax :
LCase ( strExpression )

strExpression : String you want converted to lowercase

Dim strCommandLine as String , strLowerCommand as String
strCommandLine = command
strLowerCommand = LCase ( strCommandLine )

This example retrieves the command -line parameters that were used to start the program and converts the entries to lowercase.

No comments:

Post a Comment