Filter List of Strings with Another List of String

Hello,

Can’t figure out how to filter one list of strings using another list of strings. I’m thinking I need to adjust the levels perhaps, or I should use another node instead of string.contains? See image below to see an example of the two lists.

got it!

The String.Contains node checks to see if a single string contains a substring. I think you’re looking to see if a string exists within a list for a list of strings.

In that case you’ll want to use List.Contains or List.SetDifference. An alternative option is to use the == node if you need to maintain specific indexing for matches.