Jay,

Glad it worked! (and thanks for the follow-up!)

Check the AScan manual page - you'll find that there's an option to find a substring match, which might let you reverse the search logic and not have to edit your data.

Since the HAVE array has more text than the NEED array, you could enumerate the NEED array instead, using the substring flag of AScan. You'd then clear the enumerated element instead of the found element - AScan would simply indicate a match without caring where it matched. To do this, you'd need the form For $I = 0 to UBound($aNeed) so you have a reference to the index of the enumerated array. A For Each $ in $Array won't let you modify the enumerated array.

Just some thoughts on an alternative method...

Glenn
_________________________
Actually I am a Rocket Scientist! \:D