eckit::StringTools class

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

Function documentation

static std::vector<std::string> eckit::StringTools::substituteVariables(const std::string&)

This website is beyond its original expiry date and the content may be out of date. The site owner has been notified and may choose to extend the expiry date and remove this banner. If you have any questions about this, please visit our support portal.