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 a
string comparison should be
case-sensitive or not:
|
Constant |
Value |
Description |
|---|---|---|
|
|
0 |
Binary (case-sensitive comparison) |
|
|
1 |
Text (case-insensitive comparison) |
|
|
2 |
Database (unused in VBScript) |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access