charon-core
0.3.1
|
Declaration of StringTool methods. More...
Go to the source code of this file.
Namespaces | |
StringTool | |
Useful methods when working with strings. | |
Functions | |
std::string charon_core_DLL_PUBLIC | StringTool::combine (std::vector< std::string > strings, char delim=';') |
Combine a vector of strings to one string. More... | |
void charon_core_DLL_PUBLIC | StringTool::explode (std::string str, char delimiter, std::vector< std::string > &result) |
Use delimiter to split the string in a list of substrings. More... | |
std::string charon_core_DLL_PUBLIC | StringTool::toLowerCase (std::string s) |
Convert a string to lowercase. More... | |
std::string charon_core_DLL_PUBLIC | StringTool::trim (const std::string &s, const std::string &t=" \t\r\n") |
Remove (whitespace) characters from head and tail of a string. More... | |
std::string charon_core_DLL_PUBLIC | StringTool::trimLeft (const std::string &s, const std::string &t=" \t\r\n") |
Remove (whitespace) characters from the head of a string. More... | |
std::string charon_core_DLL_PUBLIC | StringTool::trimRight (const std::string &s, const std::string &t=" \t\r\n") |
Remove (whitespace) characters from the tail of a string. More... | |