strcspn
Name
strcspn -- Calculate the length of the initial substring of
s
which does
Synopsis
size_t strcspn
(const char * s, const char * reject);
Arguments
s
The string to be searched
reject
The string to avoid
Description
not contain letters in reject