|
| std::string | ltrim (const std::string &str, const std::string &whitespace="\t ") |
| | return approximate longitude of the Sun for a given time More...
|
| |
|
std::string | rtrim (const std::string &str, const std::string &whitespace="\t ") |
| | remove whitespace from the end of the string str
|
| |
|
std::string | trim (const std::string &str, const std::string &whitespace="\t ") |
| | remove whitespace from the begining and the end of the string str
|
| |
| char * | trim (char *txt) |
| |
| char * | trim (char *dest, const char *src) |
| |
|
std::string | pad (const std::string &s, size_t n, char c= ' ') |
| | pad to given number of characters
|
| |
|
std::string | unescape (const std::string &str) |
| | Convert all occurences of \" and \\' in a string to " and '.
|
| |
|
std::string | tolower (const std::string &s) |
| | convert string to lowercase
|
| |
|
std::string | toupper (const std::string &s) |
| | convert string to uppercase
|
| |
|
std::string | str (size_t n) |
| | convert size_t to std::string
|
| |
|
std::string | str (int n) |
| | convert int to std::string
|
| |
|
std::string | str (char c) |
| | convert char to std::string
|
| |
|
std::string | str (double n, const char *fmt="%f") |
| | convert double to std::string
|
| |
|
std::string | type_name (const std::type_info &ti) |
| | Type name demangler.
|
| |
|
template<typename T > |
| std::string | type_name () |
| | type-name demangler
|
| |
|
template<typename T > |
| std::string | type_name (const T &t) |
| | type-name demangler
|
| |
contains string processing functions, type name demangling,