This operator performs a match search on a string.
The following characters are available for match search:
Characters |
Description |
# |
A digit |
* |
One or more characters |
? |
A single character |
[!B-D] |
A single non occurring character: here B,C,D A distinction is made between large/small letters |
[B-D] |
A single occurring character: here B,C,D A distinction is made between large/small letters |
Example
Dim V1 As String, V2 As Boolean
V1 := "Plasma"
V2 := V1 Like "P*a"
Result:
V2 contains the value True (-1)