| version 1.19, 2002/10/02 20:01:57 |
version 1.20, 2002/10/05 09:52:44 |
|
|
| /************************************************************************** |
/************************************************************************** |
| * * |
* * |
| * Special string functions and macros header file * |
* Advanced string locate, counting, removing, inserting * |
| |
* and comparing functions * |
| * * |
* * |
| * Programmed by Ondrej Jombik <nepto@pobox.sk> * |
* Programmed by Ondrej Jombik <nepto@pobox.sk> * |
| * Copyright (c) 1997-2000 Condy software inc. * |
* Copyright (c) 1997-2000 Condy software inc. * |
|
|
| * @param substr what to search (needle) |
* @param substr what to search (needle) |
| * @retval size size of matched patern if found, undefined if not found |
* @retval size size of matched patern if found, undefined if not found |
| * @return pointer to substr in str on NULL if not found |
* @return pointer to substr in str on NULL if not found |
| * @author Rastislav 'Crasher' Barlik <rbarlik@yahoo.com> |
* @author Rastislav 'Crasher' Barlik <rbarlik@yahoo.com>\n |
| * patched by: Ondrej Jombik <nepto@pobox.sk> [28/2/2002] |
* (patched by: Ondrej Jombik <nepto@pobox.sk> [28/2/2002]) |
| * |
* |
| * This function works just like classical strstr() call, with following |
* This function works just like classical strstr() call, with following |
| * advanced feature. Every white char in substr can be substitued with one |
* advanced feature. Every white char in substr can be substitued with one |
|
|
| /** |
/** |
| * Removes all occurences of LF (Line Feed) |
* Removes all occurences of LF (Line Feed) |
| * |
* |
| * @param s string where to remove all LF (\n) characters |
* @param s string where to remove all LF (\\n) characters |
| * @return modified string |
* @return modified string |
| */ |
*/ |
| char *PLATON_FUNC(strrmlf)(char *s); |
char *PLATON_FUNC(strrmlf)(char *s); |