sscanf?

i can’t find a defined listing of tokens i can use in sscanf. ie: sscanf(blah, “%s %s”,blah1, blah2); works. But what else can i use instead of the space?

If another function would be better i am ok with that too. Basically I have two strings i need to store and get at. Each string needs to have a token of some kind. I have a file i’m storing / retrieving them from. so think of it like this: I like happy feet.^He likes happy feet.
the ^ is the token except i can’t get that out of Scanf. it treats the whole thing as one string.

Any help would be excellent. Thanks.

Sponsor our Newsletter | Privacy Policy | Terms of Service