I have 2 set of array of strings
Array 1 {A1, A2, A3…A10}
Array 2 {A1, S1, A10, J7}
If any one of the elements in Array 2 , exists in Array 1 , then i want to return true, if possible with the number of matches. In the abve eg , A1 and A10 exists in Array 1, then i return TRUE, 2.
Hey @Purnima_Sambasivan,
Simply using One ForEach inside of another should do the trick.
Might not be the cleanest solution, perhaps someone else can improve on it, but it does get the job done.