Parsing GET Variables

You don't need to use while loops, if they are not appropriate. You can parse, or not, the rest of the string, based on what you find in any token.