|
||
size_t strspn( char *s1, char *s2 )
char *s1; /* a string */ char *s2; /* character set string */
|
|
|
Synopsis |
#include "string.h"
The strspn function determines of the prefix of string s1 that cosists only of characters in string s2 .
|
|
Parameters |
s1 and s2 are null-terminated strings.
|
|
Return Value |
strspn returns the length of the prefix determined above.
|
|
See Also |
|
|
|
|