|
Public Member Functions |
| | Ztring () |
| | Ztring (const std::string &s, size_type pos=0, size_type n=npos) |
| | Ztring (const std::string *s, size_type pos=0, size_type n=npos) |
| | Ztring (const char *s) |
| | Ztring (const char *s, size_type n) |
| | Ztring (const char s) |
| | Ztring (size_type n, const char s) |
| | Ztring (const int32, size_type radix=10) |
| | Ztring (const uint32, size_type radix=10) |
| | Ztring (const float) |
| | Ztring (const double) |
| Ztring | operator+ (const Ztring &) const |
| Ztring & | operator+= (const char *) |
| Ztring & | operator+= (const Ztring &) |
| char & | operator() (size_type index) |
| const char * | Char () const |
| char * | ToChar () const |
| | return a new char array
|
| int32 | Convert_int32 (ztring_t Options=Ztring_Rounded) const |
| | Convert into Int (32 bits).
|
| uint32 | Convert_uint32 (ztring_t Options=Ztring_Rounded) const |
| | Convert into unsigned Int (32 bits).
|
| float | Convert_float (ztring_t Options=Ztring_Rounded) const |
| | Convert into float.
|
| Ztring * | MakeLowerCase () |
| | convert into lowercase
|
| Ztring * | MakeUpperCase () |
| | convert into uppercase
|
| Ztring * | TrimLeft () |
| | Remove leading whitespaces from a string.
|
| Ztring * | TrimRight () |
| | Remove trailing whitespaces from a string.
|
| Ztring * | Trim () |
| | Remove leading and trailing whitespaces from a string.
|
| Ztring * | Quote () |
| | Quotes a string.
|
| Ztring | SubString (const std::string &Begin, const std::string &End, int Pos=0, ztring_t Options=Ztring_Nothing) const |
| | return a string between two strings
|
| int | FindAndReplace (const std::string &ToFind, const std::string &ReplaceBy, size_t Pos=0, ztring_t Options=Ztring_Nothing) |
| | replace a string by another one
|
Friends |
| Ztring | operator+ (const char *, const Ztring &) |