Remove item at specific indice numbers

For example, I have two lists, from one list, I get some items in String.Contains node to be false. Now I want to take those items out and also in doing so, take items at same indices out of other list as well. The two lists are shown in watch nodes. I am comparing the upper one with another list(not displayed here), thats why it will be used as a reference for true or false.
How can I achieve this task easily?
Thanks in advance!!

Hi @salmanjavaid2000 ,

Use the node List.FilterByBoolMask with your booleans from the String.Contains node as the bool input for each

1 Like