This is a FAQ: How do I compute the difference of two arrays? How do I compute the intersection of two arrays?. Do please read the FAQs. If you don't understand the answers there or have further questions arising from them not covered in the FAQs then by all means post here for more discussion.
Update: As per Laurent_R's reply and the OP's node above the task appears not to be to compare two arrays but rather to match an array of patterns to an array of strings which is indeed a different problem (even if related). Apologies for my pre-caffiene noise.
In reply to Re: Compare two arrays
by hippo
in thread Compare two arrays
by kaushik9918
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |