I have a set of lists
_option1{0}=A
_option1{1}=B
_option1{1}=C
_option2{0} = X
_option2{0} = Y
_option2{0} = Z
and values
feature 1
_list{0} = A3
_list{1} = 7B2
feature 2
_list{0} = 4X
feature 3
_list{0} = C2
_list{1} = 3Z
I need to identify only those features that whose list elements contain items from both _option1{} and _option2{} .
In the above example, that would be feature 3.
The data list values are not an exact match to the values in the option lists, just contain them.
There can be any number of elements in the data list.
The options are the same for every feature.