src/system/helpers.cpp: Add str_replace() function

This commit is contained in:
M. Liebmann
2014-02-26 10:02:27 +01:00
parent d750c9e0f9
commit 21f7c930ae
2 changed files with 16 additions and 0 deletions

View File

@@ -54,6 +54,7 @@ std::string getFileExt(std::string &file);
std::string getNowTimeStr(const char* format);
std::string trim(std::string &str, const std::string &trimChars = " \n\r\t");
time_t toEpoch(std::string &date);
std::string& str_replace(const std::string &search, const std::string &replace, std::string &text);
class CFileHelpers
{