AnsweredAssumed Answered

Compare lists stored in variables

Question asked by ste.amedeo on Apr 11, 2014
Latest reply on Apr 11, 2014 by ste.amedeo

Good morning,

 

I would like to ask if there is a way to create a custom function which compares two lists stored in two variables and check if all the string of the second list belong also to the first list (strings may be also in different order). Here is an example:

 

List1 = A1¶A2¶A3¶A4

 

List2 = A4¶A3

 

Is there a function that returns TRUE if the strings A4 and A3 from List2 are in List1? I think it could be done with a recurrsive custom function...

Outcomes