![]() |
Blue Brain BioExplorer
|
Functions | |
const std::string | ELLIPSIS ("...") |
std::string | shortenString (const std::string &string, const size_t maxLength) |
std::string | replaceFirstOccurrence (std::string input, const std::string &toReplace, const std::string &replaceWith) |
std::string | camelCaseToSeparated (const std::string &camelCase, const char separator) |
std::string | separatedToCamelCase (const std::string &separated, const char separator) |
std::string | join (const std::vector< std::string > &strings, const std::string &joinWith) |
std::string | toLowercase (std::string input) |
void | ltrim (std::string &s) |
void | rtrim (std::string &s) |
void | trim (std::string &s) |
std::vector< std::string > | split (const std::string &s, char delim) |
std::string core::string_utils::camelCaseToSeparated | ( | const std::string & | camelCase, |
const char | separator | ||
) |
Definition at line 57 of file StringUtils.cpp.
const std::string core::string_utils::ELLIPSIS | ( | "..." | ) |
std::string core::string_utils::join | ( | const std::vector< std::string > & | strings, |
const std::string & | joinWith | ||
) |
Definition at line 93 of file StringUtils.cpp.
void core::string_utils::ltrim | ( | std::string & | s | ) |
Definition at line 112 of file StringUtils.cpp.
std::string core::string_utils::replaceFirstOccurrence | ( | std::string | input, |
const std::string & | toReplace, | ||
const std::string & | replaceWith | ||
) |
Definition at line 49 of file StringUtils.cpp.
void core::string_utils::rtrim | ( | std::string & | s | ) |
Definition at line 117 of file StringUtils.cpp.
std::string core::string_utils::separatedToCamelCase | ( | const std::string & | separated, |
const char | separator | ||
) |
Definition at line 74 of file StringUtils.cpp.
std::string core::string_utils::shortenString | ( | const std::string & | string, |
const size_t | maxLength | ||
) |
Definition at line 37 of file StringUtils.cpp.
std::vector< std::string > core::string_utils::split | ( | const std::string & | s, |
char | delim | ||
) |
Definition at line 128 of file StringUtils.cpp.
std::string core::string_utils::toLowercase | ( | std::string | input | ) |
Definition at line 106 of file StringUtils.cpp.
void core::string_utils::trim | ( | std::string & | s | ) |
Definition at line 122 of file StringUtils.cpp.