- add strx::lowercase() call
This commit is contained in:
parent
d852fdde3a
commit
8b33a3a7e6
|
|
@ -409,6 +409,13 @@ std::string strx::uppercase(const std::string& s)
|
|||
return r;
|
||||
}
|
||||
|
||||
std::string strx::lowercase(const std::string& s)
|
||||
{
|
||||
std::string r(s);
|
||||
std::transform(r.begin(), r.end(), r.begin(), ::tolower);
|
||||
return r;
|
||||
}
|
||||
|
||||
std::string strx::removeQuotes(const std::string& s)
|
||||
{
|
||||
std::string r(s);
|
||||
|
|
|
|||
|
|
@ -70,6 +70,7 @@ public:
|
|||
static bool endsWith(const std::string& s, const std::string& suffix);
|
||||
static int stringToDuration(const std::string& s);
|
||||
static std::string uppercase(const std::string& s);
|
||||
static std::string lowercase(const std::string& s);
|
||||
static std::string removeQuotes(const std::string& s);
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue