Filter by bundle number?

Hey all,

I have a text parser module that produces multiple bundles (normally around 100 per run).

The way the regex works, every second bundle is the data I want.

Bundle 1 - correct
Bundle 2 - incorrect
Bundle 3 - correct

Bundle 87 - correct
Bundle 88 - incorrect

So essentially, the ‘even’ number bundles are incorrect.

Is there a way I can filter by the bundle number being odd / even?

Thanks!

1 Like

Sure do a filter and use some modulo math to see if you have an even bundle number. The bundle number will be in your output.

2 Likes

Amazing thanks Alex - Originally when I read this I thought ‘modulo’ was a typo, lol!

1 Like

:heavy_division_sign:

Modulo math is indeed real. I linked it in my reply.

1 Like