Jan,
In addition to Herfried's comments.
Have you considered using System.Text.RegularExpressions.RegEx instead?
I'm not sure RegEx would fair any better, without tweaking your expession to
match against...
Hope this helps
Jay
"Jan Sika" <an*******@discussions.microsoft.com> wrote in message
news:07****************************@phx.gbl...
Try this:
Console.WriteLine(("ab" Like "*a*b*").ToString)
Console.WriteLine(("aa" Like "*a*a*").ToString)
Result:
True
False
???????????
Jan