"PJ6" <no****@nowhere.net> schrieb:
The help in VS.NET was less than useful explaining this little quirk...
? "test.test.test" like "*.*"
True
? "test.test.test" like "*.*.*"
False
Is this expected behavior?
There have been bugs with 'Like' pattern matchin in VB 7.*, for example
<URL:http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=b8606152-01a5-4ef7-aefc-aa07b2d5c11f>.
Which version of VB.NET are you using? '"test.test.test" Like "*[.]*[.]*"
works fine in VB.NET 7.1, so I think the behavior for "*.*.*" is a bug.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>