Name
strspn —
Calculate the length of the initial substring of s which only contain letters in accept
Synopsis
size_t strspn ( | const char * s, |
| | const char * accept); |
Arguments
const char * s
The string to be searched
const char * accept
The string to search for