strcspn (9) - Linux Manuals

strcspn: Calculate the length of the initial substring of s which does not contain letters in reject

NAME

strcspn - Calculate the length of the initial substring of s which does not contain letters in reject

SYNOPSIS

size_t strcspn(const char s, const char reject);

ARGUMENTS

s

The string to be searched

reject

The string to avoid

COPYRIGHT