Since a string is not a stream how do I get sscanf to traverse the string rather than keep reading the first thing? I want to use the following while loop but because of this problem it goes infinite

Code:
while((sscanf(myString, "%s", anotherString)) != EOF){
.
.
.
}
Thanks