strspn (9) - Linux Manuals

strspn: Calculate the length of the initial substring of s which only contain letters in accept

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

s

The string to be searched

accept

The string to search for

COPYRIGHT