strcspn1 strcspn size_t strcspn(const char *s1, const char *s2) size_t strcspn(const char *s1, const char *s2) { size_t ret=0; while(*s1) if(strchr(s2,*s1)) return ret; else s1++,ret++; return ret; } 2016. 7. 9. 이전 1 다음