Compare two collections and get the result(same details in both collection) in 3rd collection

kiss4344

Member
Hi - My requirement is to compare two collections and get details in 3rd collection if the values are same, Can someone suggest. @Sachin_Kharmale @VJR @sivagelli

For example:

Coll1:

Name Number
Sachin 00099991
tendulkar 9988787
Kumar 97638291

Coll2:

Name Number
Margrat 9756272
tendulkar 9988787
Kumar 97638291

Result Collection:

tendulkar 9988787
Kumar 97638291
 

srivathsa

New Member
Pls use string compare and both collection declared as string values and then compare.Final result put it in third collection.
 
Top