divide list at a string

    Aug 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?
    If it helps I can make (some stuff) "1" (some other stuff) "2" (some other other stuff)
    Many thanks in advance

    • Aug 23 2012 | 9:14 am
      Basically it can also be done with [regexp] including recursion and stack.
    • Aug 23 2012 | 10:47 am
      This specific function can also be realized with textedit.