|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
LIKE operator questionLIKE is a noise word so I'm having trouble finding/googling information on
it. 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? Paul "PJ6" <nob***@nowhere.net> schrieb: There have been bugs with 'Like' pattern matchin in VB 7.*, for example > 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? <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/> Addendum:
It's definitely a bug in VB 7.* that has fortunately been fixed in VB 2005! -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> "PJ6" <nob***@nowhere.net> wrote in message Trynews:%23L37rb6GGHA.2472@TK2MSFTNGP10.phx.gbl... > LIKE is a noise word so I'm having trouble finding/googling information on > it. > > 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? ? "test.test.test" like "*\.*\.*"
ShellExecute in VB2005
How to minimize to system tray ? VS 2003 Keep software running The Irish fada (áéíóú/ÁÉÍÓÚ) and encryption/decryption problem! How to create a "DataSource" & "Items" properties on Custom Combob Binding sources question in Vs2005 Working with structures and the New keyword Custom Property Detect Remote Shutdown Alignment problem displaying .txt file in window's textbox? |
|||||||||||||||||||||||