Declaration:
int strspn(char s1[], char s2[], int s1_index=0, int s2_index=0);
The strspn function searches in the line s21 for symbols, which are absent in line s2.
Returned value
The strspn function returns the number of the first character in line s1, which is known to be absent in line s2. If there are no such symbols in line s1, then the length of line s1 will be returned (the zero character is not taken into account).
|