Like command not finding string with #

lidds

Well-known member
Joined
Oct 19, 2004
Messages
122
Programming Experience
Beginner
I am trying to use the following code, however if my searchString variable contains a # (hash) then it is not being found. Why is this?


VB.NET:
dim searchString as string = "*simon#*"
If line Like searchString Then
 
Back
Top