I'm trying to load in two values from a string separated by " - ".
I can't figure out what to put in the scanf to ignore this dash.
Here's a simplified snippet that illustrates the problem:
char first[3];
char second[3];
char* str = "foo - bar";
sscanf(str, "%s <what should be here> %s", first, second);
printf("%s %s", first, second);
If nothing is placed in the placeholder the program prints "foo -"