dcooper, I think what lucilue2003 is trying to say is that he/she doesn't know the index names in the string (the action, variable2 and variable3 parts).
lucilue2003, yes, that should do what you want it to do. Then you could use something like [man]explode()[/man] to separate it into individual index/value pairs.