Diff for libplaton/platon/str/strplus.h between version 1.7 and 1.8
| version 1.7, 2001/12/09 15:06:35 |
version 1.8, 2001/12/16 20:44:37 |
|
|
| * strendstr() - macro that locates end of substring (use only if you are sure, |
* strendstr() - macro that locates end of substring (use only if you are sure, |
| * that substring is located in string) |
* that substring is located in string) |
| * strestr() - locate a end of substring |
* strestr() - locate a end of substring |
| * stristr() - locate a substring ignoring case |
* strcasestr(), stristr() - locate a substring ignoring case |
| */ |
*/ |
| |
|
| #define strendstr(__s1,__s2) (strstr(__s1,__s2) + strlen(__s2)) |
#define strendstr(__s1,__s2) (strstr(__s1,__s2) + strlen(__s2)) |
|
|
| char *strestr(const char *s1, const char *s2); |
char *strestr(const char *s1, const char *s2); |
| char *stristr(const char *s1, const char *s2); |
char *stristr(const char *s1, const char *s2); |
| |
|
| |
#define strcasestr(__s1, __s2) stristr(__s1, __s2) |
| |
|
| |
char *str_white_str(char *s, int *size); |
| |
|
| |
#define strwhitestr(s, size) str_white_str(s, size) |
| |
#define strwstr(s) str_white_str(s, NULL) |
| |
|
| /* |
/* |
| * Counting functions. |
* Counting functions. |
| * |
* |
Platon Group <platon@platon.org> http://platon.org/
|
|