Forums > MaxMSP

Filtering out strings in a list


May 06 2011 | 6:19 am

Hi,

If I have this list: hello 1 2 3 goodbye

Then I would like to filter out the strings hello and goodbye, so I end up with this list:

1 2 3

How do I do this?

Best,

Kaspar


o s
May 06 2011 | 6:42 am

[zl filter]?

hth ole


-- Pasted Max Patch, click to expand. --


ch
May 06 2011 | 6:44 am

or a regexp one


-- Pasted Max Patch, click to expand. --

May 06 2011 | 6:57 am

Hmm, what if the strings hello and goodbye were any string?

– how do I filter out any words?

May 06 2011 | 7:43 am

I would do it this way:


-- Pasted Max Patch, click to expand. --

aa

Viewing 5 posts - 1 through 5 (of 5 total)

Forums > MaxMSP