Just for the fun of it, I found another way:
Example, extracts only the first argument and value:
value=$(echo $QUERY_STRING | cut -d= -f1)
argument=$(echo $QUERY_STRING | cut -d= -f2)