libc.info: strspn

Go forward to strstr
Go backward to strrchr
Go up to Strings
Go to the top op libc

`strspn'--find initial match

*Synopsis*
     #include <string.h>
     size_t strspn(const char *S1, const char *S2);
   *Description*
This function computes the length of the initial segment of the string
pointed to by S1 which consists entirely of characters from the string
pointed to by S2 (excluding the terminating null character).
*Returns*
`strspn' returns the length of the segment found.
*Portability*
`strspn' is ANSI C.
   `strspn' requires no supporting OS subroutines.