int strspn(const char* s, const char* accept)
The length of the initial matching segment.
Returns the length from the start of string s which consists only of characters specified in string accept.
strcspn, strpbrk, strstr