in reply to Re: matching strings...
in thread matching strings...

Both of these are poor choices. You wouldn't use grep because that's a wasteful way to program. Not only does it not stop after finding a match, it goes to all the trouble to create a copy of the matching elements in memory. The first() function is also poor because that assumes that the data itself evaluates as a 'true' value. That doesn't work when your data is things like "" and 0.


Seeking Green geeks in Minnesota