Hello. Please watch my simple list
I want to retrive every third number from the List (0, 3, 6…)
How to make it?
Thanks
Dispatch component with True, False, False
pattern.
Useful hack with character splitting and auto type conversions:
1 Like
After all these years, I just realized why the various forms of Cull were so confusing to me when I started. With Cull Pattern you specify the indices you want to KEEP using ‘True’ or ‘1’, while with Cull Nth and Cull Index you specify the indices you want to REMOVE.
1 Like
wow thanks guys. my question solved using series node!
The problem with Series here is that you need to:
- Pick a ‘Count (C input)’ value that is 1/3rd of the list length of the numbers you want to cull, rounded up to nearest integer (“Ceiling”).
- Set the ‘W’ (Wrap)’ input of List Item to false to avoid the duplicate values you see.
- Deal with any null values that sneak through.
That’s why Cull Pattern is better.
1 Like
well… I agree. cull pattern works good