34 std::string ToString(T value,
bool *ok =
nullptr)
47 T FromString(
const std::string &str,
bool *ok =
nullptr)
59 std::string Format(
const char *fmt, ...);
62 std::string Replace(
const std::string &str,
const std::string &oldStr,
const std::string &newStr);
66 std::string UnicodeCharToUtf8(
unsigned int ch);
69 std::string UnicodeStringToUtf8(
const std::wstring &str);
72 unsigned int Utf8CharToUnicode(
const std::string &ch);
75 std::wstring Utf8StringToUnicode(
const std::string &str);
78 int Utf8CharSizeAt(
const std::string &str,
unsigned int pos);
81 size_t Utf8StringLength(
const std::string &str);