Posted on 2006-10-19
testSpecifyList = ('APR','DRE','TAB');
specCompareArray = ('APR','DRE','DRE');
I am trying to compare testSpecifyList and specCompareArray in two different ways. The first being if specCompareArray has any duplicates. (FYI, testSpecifyList will NEVER have duplicates so I don't need to check that.)
The second is, is there a one to one with testSpecifyList to specCompareArray. Does everything in testSpecifyList match what is in specCompareArray? What would be the best is if you could leave the array with the one that doesn't exists. So, using the example it would look something like this:
testSpecifyList=null;//not sure if you can do this
So at the end of the loop it would display:
Any help is greatly appreciated. Thanks in advance!