Can you ‘or’ with sscanf?

  arrays, c++, scanf

Is there a way to delimit a char array using sscanf conditionally? For example

char arr[] = "abc deftghi";
char s1[4];
char s2[4];
char s3[4];
std::sscanf(arr, "%s %st%s",s1,s2,s3);

but in a real example I do not know if (or where) it is separated by " " or "t", it could be either, so I need it to be something such as

std::sscanf(arr, "%s " " or "t"...");

where it checks for either a " " or a "t"

Source: Windows Questions C++