Use the substring() command with a variable. when you find the string, move the variable past it, and then LOOP until you don't find it again.

that's actually pseudo-code that will solve the problem