When you call comparison functions, you can use the CompareMethod enumeration in your code in place of the actual values.
The Compare argument takes the following CompareMethod enumeration members:
| Member | Constant | Description |
|---|---|---|
| Binary | vbBinaryCompare | Performs a binary comparison. |
| Text | vbTextCompare | Performs a textual comparison. |
Namespace: Microsoft.VisualBasic
Assembly: Microsoft Visual Basic .NET Runtime (in Microsoft.VisualBasic.dll)
Filter Function | InStr Function | InStrRev Function | Replace Function | Split Function | StrComp Function