in reply to Further question on removing elements from arrays

Also check out (which includes Zaxo's method for the intersection, as well as methods for the union and difference):
  • Comment on Re: Further question on removing elements from arrays