Like Operator |
Syntax:
Group:
Description: Returns True if str1 matches pattern str2. The pattern in str2 is one or more of the special character sequences shown in the following table.
Characters) |
Description |
? |
Match any single character. |
* |
Match zero or more characters. |
# |
Match a single digit (0-9). |
[charlist] |
Match any char in the list. |
[!charlist] |
Match any char not in the list. |
Example:
Sub Main
Debug.Print "abcdfgcdefg" Like "" 'FalseDebug.Print"