2014-01-07 14:30 keltezéssel, Benoît Minisini írta: > Le 07/01/2014 14:28, Benoît Minisini a écrit : >> Le 07/01/2014 14:26, Kende Krisztián a écrit : >>> 2014-01-07 14:21 keltezéssel, Kende Krisztián írta: >>>> I found this Like operator bug: >>>> >>>> Print " " Like " " >>> With double space: >>> >>> Print " " Like " " >>> >>>> or >>>> >>>> Print "a a" Like "* *" >>>> >>>> or... with double space >>>> >>>> Output: False >>>> >> Damn it. :-( >> > Actually, a single space in a pattern eats all corresponding spaces in > the string. So two spaces in the pattern never match... >
Never mind. I use this code: Print InStr(string, " ") = 0 ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
