| 618 | |
| 619 | |
| 620 | char* SupportDBCS::strchrd(const char *s, int c) |
| 621 | { |
| 622 | while (*s!=0) |
| 623 | if (IsLeadByte[(byte)*s]) |
| 624 | s+=2; |
| 625 | else |
| 626 | if (*s==c) |
| 627 | return((char *)s); |
| 628 | else |
| 629 | s++; |
| 630 | return(NULL); |
| 631 | } |
| 632 | |
| 633 | |
| 634 | void SupportDBCS::copychrd(char *dest,const char *src) |