Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > VB Language Reference > LCase FunctionThis standard VB function returns a lowercase copy of a string. SyntaxReturnsA copy of string, with uppercase letters converted to lowercase. UsageThe substitution of characters is based on the country specified in the Windows Control Panel. LCase accepts expressions of type string. LCase accepts any type of argument and converts the input value to a string. The dollar sign ($) in the function name is optional. If it is included, the return type is string. Otherwise the function returns a variant of vartype 8 (string). If the value of string is NULL, a variant of vartype 1 (Null) is returned. The LCase or UCase function is useful for comparing string data when you need to compare the actual text values, but the case in which input is entered is irrelevant. ExampleThis example converts a string entered by the user to lowercase. Sub Button_Click See Also |
Siebel VB Language Reference |