#ifndef UTILS_H #define UTILS_H #include #include using namespace std; vector splitAllowSeperator(vector::iterator from, vector::iterator to, char sep); void stringReplace(string& target,const string& pattern,const string& candidate); string getFileNameFromPath(const string& path); bool startsWith(const string& str, const string& patten); bool endsWith(const string& str, const string& patten); string toString(const vector& buf); #endif // UTILS_H