I spoke with OP in CB and he stated that order was *not* important, and that duplication was not allowed.
Based upon this additional info, I solved the task using hashes.
In reply to Re^3: Array searching
by thezip
in thread Array searching
by scoobyrico
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |