VB “Like” Syntax

Prev Next

The value in the white list or black list of a processor can contain special characters; this makes it possible to use pattern for value matching. The matching is done by using Visual Basic “Like” operators.

Characters in Pattern

Matches in String

?

Any single character

*

Zero or more characters

#

Any single digit (0–9)

[ charlist ]

Any single character in charlist

[! charlist ]

Any single character not in charlist

(Reference) VB Like Operator: http://msdn.microsoft.com/en-us/library/swf8kaxw.aspx