strspn — Calculate the length of the initial substring ofs which only contain letters inaccept
s
accept
size_tstrspn(
)
const char * s
The string to be searched
const char * accept
The string to search for