19bool IEquals(
const std::string &s1,
const std::string &s2,
size_t nChar = 0);
28bool IEquals(
const std::wstring &s1,
const std::wstring &s2,
size_t nChar = 0);
35 bool operator()(
const std::string &s1,
const std::string &s2)
37 bool operator()(
const std::wstring &s1,
const std::wstring &s2)
46void Trim(std::string &text);
55[[nodiscard]] std::string
Trim(
const std::string &text);
68 double value, uint8_t decimals,
bool fixed =
false,
69 const std::string &unit = {});
Definition stringutil.h:33
bool operator()(const std::wstring &s1, const std::wstring &s2) const
Compare the strings by ignoring case.
bool operator()(const std::string &s1, const std::string &s2) const
Compare the strings by ignoring case.
The string namespace is used for string manipulation functions.
Definition stringparser.h:14
void Trim(std::string &text)
Remove white space from string.
std::string DoubleToString(double value)
Converts a double to string without loosing precision.
bool WildcardMatch(const std::string &text, const std::string &wildcard, bool ignore_case)
std::string FloatToString(float value)
Converts a float to string without loosing precision.
bool IEquals(const std::string &s1, const std::string &s2, size_t nChar=0)
Compare strings by ignoring case.
std::string FormatDouble(double value, uint8_t decimals, bool fixed=false, const std::string &unit={})
Converts a float to a string.