Changeset 1757 for pjproject/trunk/pjlib/include/pj/string.h
- Timestamp:
- Jan 26, 2008 10:45:52 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/include/pj/string.h
r1397 r1757 473 473 474 474 /** 475 * Find the occurence of a substring substr in string str. 476 * 477 * @param str The string to search. 478 * @param substr The string to search fo. 479 * 480 * @return the pointer to the position of substr in str, or NULL. Note 481 * that if str is not NULL terminated, the returned pointer 482 * is pointing to non-NULL terminated string. 483 */ 484 PJ_DECL(char*) pj_strstr(const pj_str_t *str, const pj_str_t *substr); 485 486 /** 487 * Performs substring lookup like pj_strstr() but ignores the case of 488 * both strings. 489 * 490 * @param str The string to search. 491 * @param substr The string to search fo. 492 * 493 * @return the pointer to the position of substr in str, or NULL. Note 494 * that if str is not NULL terminated, the returned pointer 495 * is pointing to non-NULL terminated string. 496 */ 497 PJ_DECL(char*) pj_stristr(const pj_str_t *str, const pj_str_t *substr); 498 499 /** 475 500 * Remove (trim) leading whitespaces from the string. 476 501 *
Note: See TracChangeset
for help on using the changeset viewer.