2016-05-19 14:15:22 +02:00
|
|
|
#include <string.h>
|
|
|
|
|
2006-09-07 16:14:53 +02:00
|
|
|
char* strpbrk(const char* string, const char* strCharSet)
|
|
|
|
{
|
2016-04-30 15:50:04 +02:00
|
|
|
const char* temp;
|
2006-09-07 16:14:53 +02:00
|
|
|
while (*string!='\0')
|
|
|
|
{
|
|
|
|
temp=strCharSet;
|
|
|
|
while (*temp!='\0')
|
|
|
|
{
|
|
|
|
if (*string==*temp)
|
2016-04-30 15:50:04 +02:00
|
|
|
return (char*)string;
|
2006-09-07 16:14:53 +02:00
|
|
|
temp++;
|
|
|
|
}
|
|
|
|
string++;
|
|
|
|
}
|
|
|
|
return (char*)0;
|
|
|
|
}
|