C / string.h / strcspn
memchr, memcmp, memcpy, memmove, memset, strcat, strchr, strcmp, strcoll, strcpy, » strcspn, strerror, strlen, strncat, strncmp, strncpy, strpbrk, strrchr, strspn, strstr, strtok, strxfrm,
Funcion: strcspn()
Sintaxis:
size_t strcspn(const char *s1, const char *s2);

Descripcion: Cuenta el número de caracteres de una subcadena inicial apuntada por s1 que no contenga ninguno de los caracteres en la cadena apuntada por s2.


Ejemplo:
#include <stdio.h>
#include <string.h>
 
int main()
{
   char s1[13] = "Hola a todos";
   char s2[5] = "abcd";
 
   printf( "s1=%s\n", s1 );
   printf( "s2=%s\n", s2 );
   printf( "strcspn(s1,s2) = %d\n", strcspn( s1, s2 ) );
 
   return 0;
}

Librerias C

Librerias ANSI C
   string.hcstring
   math.hcmath
   stdio.hcstdio
   time.hctime
   stdlib.hcstdlib
   ctype.hcctype
   locale.hclocale
   signal.hcsignal
   setjmp.hcsetjmp

Librerias Borland
   conio.h
   graphics.h