#include <StringUtil.h>
Static Public Member Functions | |
static void | Tokenize (const std::string &str, std::vector< std::string > *tokens, const std::string &delim=" ") |
static std::string | GetBasePath (const std::string &str) |
static std::string | GetFileName (const std::string &str) |
static std::string | GetFileNameWithoutExtension (const std::string &str) |
static std::string | ToLowerCase (const std::string &str) |
Static methods for string processing
|
static |
Returns str until and including the last occurrence of \
or /
, or the empty string if there is none
|
static |
Returns str from after the last occurrence of \
or /
, or the whole string if there is none
|
static |
Returns str from after the last occurrence of \
or /
until the last occurrence of '.'
|
static |
Splits str
into substrings by the delimiter delim
. Substrings are pushed back on tokens
|
static |
Transforms a string to lower case