Remove specific value from spread

Hallo,

I am trying to remove zero values from a spread. I thought I could identify where they are in the spread then, just use delete slice. I have attached what I have, but am stuck at how to turn the output from my = node to a index value, can someone help?

Thanks
Otto

identify zero index.v4p (3.6 kB)

Try Sift (Value).

he ottomatic,
connect a boolean spread like yours to the Select-Pin of the Select node.
Check the Former Slice-Output to get the indices you’re looking for.

-readme

Perfect, thanks Patrick