Rev 6412 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
6433 | siemargl | 1 | #include |
2 | |||
145 | halyavin | 3 | char* strpbrk(const char* string, const char* strCharSet) |
4 | { |
||
6412 | siemargl | 5 | const char* temp; |
145 | halyavin | 6 | while (*string!='\0') |
7 | { |
||
8 | temp=strCharSet; |
||
9 | while (*temp!='\0') |
||
10 | { |
||
11 | if (*string==*temp) |
||
6412 | siemargl | 12 | return (char*)string; |
145 | halyavin | 13 | temp++; |
14 | } |
||
15 | string++; |
||
16 | } |
||
17 | return (char*)0; |
||
18 | } |