kolibrios/programs/develop/metcc/trunk/libc/string/strnbrk.c

17 lines
252 B
C
Raw Normal View History

char* strpbrk(const char* string, const char* strCharSet)
{
char* temp;
while (*string!='\0')
{
temp=strCharSet;
while (*temp!='\0')
{
if (*string==*temp)
return string;
temp++;
}
string++;
}
return (char*)0;
}