class
#include <eckit/utils/StringTools.h>
StringTools
Public static functions
-
static auto substitute(const std::
string&, const std:: map<std:: string, std:: string>&) -> std:: string -
static auto substituteVariables(const std::
string&) -> std:: vector<std:: string> deprecated -
static auto listVariables(const std::
string&) -> std:: vector<std:: string> -
static auto upper(const std::
string&) -> std:: string -
static auto lower(const std::
string&) -> std:: string -
static auto trim(const std::
string&) -> std:: string -
static auto trim(const std::
string&, const std:: string&) -> std:: string -
static auto front_trim(const std::
string&) -> std:: string -
static auto front_trim(const std::
string&, const std:: string&) -> std:: string -
static auto back_trim(const std::
string&) -> std:: string -
static auto back_trim(const std::
string&, const std:: string&) -> std:: string -
static auto split(const std::
string& delim, const std:: string& text) -> std:: vector<std:: string> -
template<typename T>static auto join(const std::
string&, const T&) -> std:: string -
template<typename Iterator>static auto join(const std::
string&, Iterator begin, Iterator end) -> std:: string -
static auto startsWith(const std::
string& str, const std:: string& substr) -> bool -
static auto beginsWith(const std::
string& str, const std:: string& substr) -> bool -
static auto endsWith(const std::
string& str, const std:: string& substr) -> bool -
static auto isQuoted(const std::
string& value) -> bool -
static auto unQuote(const std::
string& value) -> std:: string