Cull certain numbers from list

Hello

I´m little bit confused with simple problem to filter one list with individual numbers.

I have one list consist from numbers like: 0, 1, 2, 3, etc. but the lenght of the list differs. Sometimes there are 2 items, sometimes 8 items etc.

Then I have numbers that I want to cull from this list. For eg.: 2, 3, 5, 6, 9, 50, etc.

And all I want to do is, that it cull these numbers, if they appear in the first list.

I think the problem are that the lists are not same lenght… Searching some example, but I did not find anything to solve this yet. If anyone could help me with this, I hope simple function, I would really appreciate it !

Thanks
Tom


hello! try set intersection

Hello, thanks a lot for your help and time !

sometimes it working, but sometimes not, I´m not sure what is wrong with list.

Can you share the definition? I guess i know whats wrong, but it will be much easier with your gh file
edit: in case you can’t, pay attention to match your tree structures, as well as converting all your data streams to “number” type, using num container

Disable (‘Invert’) wrap (‘W’ input) on Cull Index:

cull_index_2022Sep21a