Siebel VB Language Reference > Methods Reference for Siebel VB > String Methods >

Convert String to Lowercase Method


The Convert String to Lowercase method converts the contents of a string to lowercase, and then returns a lowercase copy of that string. It substitutes characters according to the country specified in the Microsoft Windows Control Panel. It accepts expressions of type string. It accepts any type of argument and converts the input value to a string.

If you must configure Siebel VB to compare text values but not case, then you can use the Convert String to Lowercase method and the Convert String to Uppercase method. For more information, see Convert String to Uppercase Method.

Format

LCase[$](string)

For information about the dollar sign, see Usage of the Dollar Sign.

The following table describes the arguments that you can use with this method.

Argument
Description

string

A string or an expression that contains a string. If this value is NULL, then this method returns a Null variant. For more information, see Variants.

Example

The following example converts to lowercase a string that the user enters:

Sub Button_Click
      Dim userstr as String
   userstr = "This Is A Test"
   userstr = LCase$(userstr)
End Sub

Siebel VB Language Reference Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.