Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > VB Language Reference > Like OperatorLike is a standard VB operator used to compare the contents of string expressions. SyntaxReturns-1 (TRUE) if string matches pattern, 0 (FALSE) otherwise. Usagepattern can include the following special characters: Both ranges and lists can appear within a single set of square brackets. Ranges are matched according to their ANSI values. In a range, startchar must be less than endchar. If either string or pattern is NULL, then the result value is NULL. The Like operator respects the current setting of Option Compare. For more information about operators, read VB Expressions. ExampleThis example tests whether a letter is lowercase. Sub Button_Click See Also |
Siebel VB Language Reference |