#include <string.h>
|
size_t
strcspn (const char *s, const char *charset); |
#include <string.h> #include <stdio.h> int main() { printf("Number of characters present in s\n which are not in charset is %d",strcspn("abcde","df")); return 0; }
Output
Number of characters present in s which are not in charset is 3
© 2007-2009 Nokia Corporation. All rights reserved. This documentation can be used in the connection with this Product to help and support the user. |
|