void Encode12str(std::string & dst, const std::string & src);
void Decode21str(std::string & dst, const std::string & src);
+inline std::string Encode12str(const std::string & src) { std::string dst; Encode12str(dst, src); return dst; }
+inline std::string Decode21str(const std::string & src) { std::string dst; Decode21str(dst, src); return dst; }
int ParseIPString(const char * str, uint32_t * ips, int maxIP);
void KOIToWin(const char * s1, char * s2, int l);
std::string & TrimR(std::string & val);
std::string & Trim(std::string & val);
+std::string ToLower(std::string value);
+std::string ToUpper(std::string value);
+
template <typename C, typename F>
C Split(const std::string & value, char delim, F conv)
{