Bayonne2 / Common C++ 2 Framework
|
Common and portable character string related functions. More...
#include <cc++/config.h>
#include <cc++/missing.h>
#include <cctype>
#include <string>
#include <cstring>
Go to the source code of this file.
Functions | |
__EXPORT char * | lsetField (char *target, size_t size, const char *src, const char fill=0) |
__EXPORT char * | rsetField (char *target, size_t size, const char *src, const char fill=0) |
__EXPORT char * | setString (char *target, size_t size, const char *src) |
__EXPORT char * | addString (char *target, size_t size, const char *src) |
__EXPORT char * | newString (const char *src, size_t size=0) |
__EXPORT void | delString (char *str) |
__EXPORT char * | setUpper (char *string, size_t size) |
__EXPORT char * | setLower (char *string, size_t size) |
__EXPORT char * | find (const char *cs, char *str, size_t len=0) |
__EXPORT char * | rfind (const char *cs, char *str, size_t len=0) |
__EXPORT char * | ifind (const char *cs, char *str, size_t len=0) |
__EXPORT char * | strip (const char *cs, char *str, size_t len=0) |
__EXPORT size_t | strchop (const char *cs, char *str, size_t len=0) |
__EXPORT size_t | strtrim (const char *cs, char *str, size_t len=0) |
char * | dupString (const char *src, size_t size=0) |
Common and portable character string related functions.
Definition in file strchar.h.
__EXPORT char* addString | ( | char * | target, |
size_t | size, | ||
const char * | src | ||
) |
__EXPORT void delString | ( | char * | str | ) |
|
inline |
__EXPORT char* find | ( | const char * | cs, |
char * | str, | ||
size_t | len = 0 |
||
) |
__EXPORT char* ifind | ( | const char * | cs, |
char * | str, | ||
size_t | len = 0 |
||
) |
__EXPORT char* lsetField | ( | char * | target, |
size_t | size, | ||
const char * | src, | ||
const char | fill = 0 |
||
) |
__EXPORT char* newString | ( | const char * | src, |
size_t | size = 0 |
||
) |
__EXPORT char* rfind | ( | const char * | cs, |
char * | str, | ||
size_t | len = 0 |
||
) |
__EXPORT char* rsetField | ( | char * | target, |
size_t | size, | ||
const char * | src, | ||
const char | fill = 0 |
||
) |
__EXPORT char* setLower | ( | char * | string, |
size_t | size | ||
) |
__EXPORT char* setString | ( | char * | target, |
size_t | size, | ||
const char * | src | ||
) |
__EXPORT char* setUpper | ( | char * | string, |
size_t | size | ||
) |
__EXPORT size_t strchop | ( | const char * | cs, |
char * | str, | ||
size_t | len = 0 |
||
) |
__EXPORT char* strip | ( | const char * | cs, |
char * | str, | ||
size_t | len = 0 |
||
) |
__EXPORT size_t strtrim | ( | const char * | cs, |
char * | str, | ||
size_t | len = 0 |
||
) |