in reply to Checking if an item exists in an array before adding a record to it.

I suspect using grep would be even slower.

Cheers, Sören

Créateur des bugs mobiles - let loose once, run everywhere.
(hooked on the Perl Programming language)

  • Comment on Re: Checking if an item exists in an array before adding a record to it.