#include size_t strspn(char const *s, char const *accept) { size_t i = 0; while(s[i] && strchr(accept, s[i])) i++; return i; }