@Oligarlicky wrote:
I guess marii will have to...
If you want to be a lot more memory efficient, it gets even more fun. Keep the array in a shift register. Also keep track of how many items you have found to keep in a shift register. When you find an item to keep, you move it with Replace Array Subset (hence why we are keeping that count) and increment the count. In the end, use Array Subset to get just the portion that you are to keep. This keeps a lot of memory reallocations from happening.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5