Anyone?
I'm comparing two arrays of strings. If string 2 matches string 1 more than once then I delete the repeating strings in both. I then add a counter to see how many times the matches appear.
Example:
string1 string2
apple orange
apple banana
apple pear
mango banana
mango banana
I only want to delete the second occurence of mango banana. I then need a total count of mango banana (2).