#include <string.h>
size_t strcspn(const char *p, const char *q);
strcspn() searches p for the first character that also appears in q.
The length of the initial segment of p that contains only characters not in q.
strchr()
strpbrk()
strrchr()
strspn()