I\'m trying to split a string into tokens but somewhat recursively. I am trying to parse:
\"content=0&website=Google\"
so that I have a
scanf is more primitive than you seem to think — %s will match everything up to the next whitespace. Your best solution is probably to stick with strtok but throw it only content you've strduped from the authoritative original.
scanf
%s
strtok
strdup