mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 10:51:05 +02:00
helpers: add trim methodes for left and right trim
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5e1b9aaa4d
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-03-28 (Thu, 28 Mar 2019)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -71,7 +71,9 @@ std::string getBaseName(std::string &path);
|
||||
std::string getFileName(std::string &file);
|
||||
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");
|
||||
std::string trim(std::string& str, const std::string& trimChars = " \n\r\t");
|
||||
std::string ltrim(std::string& str, const std::string& trimChars = " \n\r\t");
|
||||
std::string rtrim(std::string& str, const std::string& trimChars = " \n\r\t");
|
||||
std::string cutString(const std::string str, int msgFont, const int width);
|
||||
std::string strftime(const char *format, const struct tm *tm);
|
||||
std::string strftime(const char *format, time_t when, bool gm = false);
|
||||
|
Reference in New Issue
Block a user