| version 1.21, 2002/10/07 10:54:45 |
version 1.22, 2002/12/04 18:18:39 |
|
|
| /************************************************************************** |
/************************************************************************** |
| * * |
* * |
| * Advanced string locate, counting, removing, inserting * |
* Advanced string locate, counting, removing, altering * |
| * and comparing functions * |
* and comparing functions * |
| * * |
* * |
| * Programmed by Ondrej Jombik <nepto@pobox.sk> * |
* Programmed by Ondrej Jombik <nepto@pobox.sk> * |
|
|
| * |
* |
| * @file platon/str/strplus.h |
* @file platon/str/strplus.h |
| * @author Ondrej Jombik <nepto@pobox.sk> |
* @author Ondrej Jombik <nepto@pobox.sk> |
| * @version \$Platon: strplus.h,v 1.19 2002/10/02 20:01:57 nepto Exp $ |
* @version \$Platon: libplaton/platon/str/strplus.h,v 1.21 2002/10/07 10:54:45 rajo Exp $ |
| * @date 1997-2002 |
* @date 1997-2002 |
| */ |
*/ |
| |
|
|
|
| |
|
| /**@}*/ |
/**@}*/ |
| /** |
/** |
| * @name Inserting functions |
* @name Altering functions |
| */ |
*/ |
| /**@{*/ |
/**@{*/ |
| |
|
|
|
| * |
* |
| * @param str where to insert |
* @param str where to insert |
| * @param ins what to insert |
* @param ins what to insert |
| * @return modified string. |
* @return modified string |
| * |
* |
| * This function inserts string ins at position str. Note that there MUST |
* This function inserts string ins at position str. Note that there MUST |
| * be enough memory allocated in str to avoid memory ovelaping after str. |
* be enough memory allocated in str to avoid memory ovelaping after str. |
| */ |
*/ |
| char *PLATON_FUNC(strins)(char *str, char *ins); |
char *PLATON_FUNC(strins)(char *str, char *ins); |
| |
|
| |
/** |
| |
* Reverse string |
| |
* |
| |
* @param str where to insert |
| |
* @return reversed string |
| |
* |
| |
* This function reverses passed string. |
| |
*/ |
| |
char *PLATON_FUNC(strrev)(char *str); |
| |
|
| /**@}*/ |
/**@}*/ |
| /** |
/** |