Forum Discussion
tvklovesu
3 years agoFrequent Contributor
rraghvani, Thanks for your example. I thought of doing the same but my issue is that at the end of the list comparision I want to know what all the values doesn't exists in table2. In your example on iteration one "a" matches, but "b" not matched and on iteration two "a" doesn't match but "b" matched. So that will not help me to make sure that only "a" and "b" matched but "c", "d", "e", "D", "f" doesn't match in both tables.
tvklovesu
3 years agoFrequent Contributor
I was able to resolve the issue by using Array.indexOf. That helped me to find if the table 2 contains the row value[i] from table 1.