27 namespace string_utils
29 std::string
shortenString(
const std::string&
string,
const size_t maxLength = 32);
31 std::string
replaceFirstOccurrence(std::string input,
const std::string& toReplace,
const std::string& replaceWith);
37 std::string
join(
const std::vector<std::string>&
strings,
const std::string& joinWith);
41 void trim(std::string& s);
43 std::vector<std::string>
split(
const std::string& s,
char delim);
std::string join(const std::vector< std::string > &strings, const std::string &joinWith)
std::string separatedToCamelCase(const std::string &separated, const char separator)
void trim(std::string &s)
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::vector< std::string > split(const std::string &s, char delim)
std::string toLowercase(std::string input)