+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)
+{
+C res;
+size_t startPos = 0;
+size_t pos = value.find_first_of(delim);
+while (pos != std::string::npos)
+ {
+ res.push_back(conv(value.substr(startPos, pos - startPos)));
+ startPos = pos + 1;
+ pos = value.find_first_of(delim, pos + 1);
+ }
+res.push_back(conv(value.substr(startPos, pos - startPos)));
+return res;
+}
+
+template <typename T>
+T FromString(const std::string & value)
+{
+T res;
+std::istringstream stream(value);
+stream >> res;
+return res;
+}
+
+template <typename C>
+C Split(const std::string & value, char delim)
+{
+ return Split<C>(value, delim, FromString);
+}
+
+std::string IconvString(const std::string & source, const std::string & from, const std::string & to);