divide list at a string

jamesson's icon

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

broc's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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

jvkr's icon
Max Patch
Copy patch and select New From Clipboard in Max.

This specific function can also be realized with textedit.