Section B.2. Comparison Constants

B 2 Comparison Constants

The comparison constants are used by a number of functions (Filter, StrComp, Split, and Replace), as well as by the CompareMode property of the Dictionary object, to determine whether astring comparison should be case-sensitive or not:

Constant

Value

Description

vbBinaryCompare

0

Binary (case-sensitive comparison)

vbTextCompare

1

Text (case-insensitive comparison)

vbDatabaseCompare

2

Database (unused in VBScript)

Категории