low_str_strspn Find the first substring. l_size_t low_str_strspn ( cl_text s1, cl_text set );
Return Value
low_str_strspn return an integer value specifying the length of the substring in string @s1 that consists entirely of characters in @set. If string @s1 begins with a character not in @set, the function returns 0. No return value is reserved to indicate an error. No return value is reserved to indicate an error.
Parameters
s1
Null-terminated string to search
set
Null-terminated character set
Remarks
The low_str_strspn function returns the index of the first character in string @s1 that does not belong to the set of characters in @set. The search does not include terminating null characters.