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