Forums > MaxMSP

divide list at a string

August 22, 2012 | 2:34 pm

I have a list like (some stuff) "foo" (some other stuff) "foo" (some other other stuff). I want to output all the stuffs as individual messages and strip out the "foo". Will route do this, or do I need sprintf?

[EDIT]

If it helps I can make (some stuff) "1" (some other stuff) "2" (some other other stuff)

Many thanks in advance

Joe


August 23, 2012 | 9:14 am

Basically it can also be done with [regexp] including recursion and stack.

– Pasted Max Patch, click to expand. –

August 23, 2012 | 10:47 am

This specific function can also be realized with textedit.

– Pasted Max Patch, click to expand. –

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