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

Origin commit data
------------------
Branch: ni/coolstream
Commit: 21f7c930ae
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-02-26 (Wed, 26 Feb 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2014-02-26 10:02:27 +01:00
parent d9725c31cc
commit 710f57bc83
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
{