23 #include "../include/charon-core/StringTool.h"
29 std::string::size_type i(d.find_last_not_of(t));
30 if (i == std::string::npos)
33 return d.erase(d.find_last_not_of(t) + 1);
38 return d.erase(0, s.find_first_not_of(t));
47 std::vector<std::string>& result) {
48 std::istringstream strm(str);
50 while (std::getline(strm, p, delimiter)) {
56 transform(s.begin(), s.end(), s.begin(),
57 (int(*)(int)) tolower);
64 for(
size_t i=0;i<strings.size();i++)
67 if(i<strings.size()-1)