Plain ascii text stored by lines.
Static Public Member Functions |
static bool | isWhiteSpace (char ch) |
| Returns true if ch is one of the white space characters. More...
|
|
template<size_t Len> |
static std::string | string (const char(&src)[Len]) |
| Returns an std::string object from a c-style char array. More...
|
|
static void | replace (std::string &src, std::string old, char r) |
| In string src , replaces all characters in old to r . More...
|
|
static std::vector< std::string > | split (std::string str, std::string delimiters=whitespaces) |
| Splits a string str by delimiters and returns a vector of strings. More...
|
|
static void | upcase (std::string &s) |
| Transforms a string to upper case. More...
|
|
static void | lowcase (std::string &s) |
| Transforms a string to lower case. More...
|
|
Static Public Attributes |
static constexpr const char * | whitespaces = " \t\n\v\f\r" |
| White space characters. More...
|
|