Using multiple search for items in “String Contains

Hey, I do see this issue has been addressed before, but I don’t really get it to work for me.

When I use just a single word in my string node (exclude1) the List.Filter node separate sjekkliste A1 and sjekkliste A2 - just what I want, but when I change the searchFor in the String.Contains node to a list the List.Filter node does not work anymore.

How do I remove items from a list based on a another list?


1 Like

@brageCRRV7 ,

check out this topic … when you look for multible items

KR

Andreas

1 Like

hi! is this what you are looking for?

You should just set the lacing to cross product when checking with another list and then use anyTrue with a longest lacing. You will get the bool mask to filter your initial list :slight_smile:

3 Likes

Thanks for the fast replay!

I did use the node List.SetDifference, and it worked. The order of list 1 and list 2 had something to say.

1 Like

Yeap, that’s also an option :slight_smile: