Getting elements if strings match

Hi there!

I have a very basic node based version, but I can’t really solve it. I’m trying to get elements by comparing two parameters, but getting wrong boolean values.
In this case from the list No.1 I need to get elements BR-12 and BR-13 which are in the list No.2, but getting false at index 2.
What am I doing wrong here?

You’re comparing 2 lists. The second item in list 1 is not the same as the second item in list 2, hence the False.

It sounds like you need a list.contains function to check if the values from list 1 are present in list 2, regardless of position,

2 Likes

Looks like list.contains helped /w @L1 for List No.1.