pikotools/src
Tomasz Sowa 8997284b16 added trim(...) functions to convert/text.h
void trim_first_white(std::string & str, bool check_additional_chars = true, bool treat_new_line_as_white = true);
void trim_first_white(std::wstring & str, bool check_additional_chars = true, bool treat_new_line_as_white = true);

void trim_last_white(std::string & str, bool check_additional_chars = true, bool treat_new_line_as_white = true);
void trim_last_white(std::wstring & str, bool check_additional_chars = true, bool treat_new_line_as_white = true);

void trim_white(std::string & str, bool check_additional_chars = true, bool treat_new_line_as_white = true);
void trim_white(std::wstring & str, bool check_additional_chars = true, bool treat_new_line_as_white = true);

void trim_first(std::string & str, wchar_t c);
void trim_first(std::wstring & str, wchar_t c);

void trim_last(std::string & str, wchar_t c);
void trim_last(std::wstring & str, wchar_t c);

void trim(std::string & str, wchar_t c);
void trim(std::wstring & str, wchar_t c);
2021-06-29 23:23:35 +02:00
..
convert added trim(...) functions to convert/text.h 2021-06-29 23:23:35 +02:00
csv changed utf8 functions: PascalCase to snake_case 2021-05-21 00:24:56 +02:00
date namespace PT renamed to pt 2021-05-20 16:11:12 +02:00
log Log class has the Stream class as a base class now 2021-06-24 20:52:48 +02:00
mainoptions removed support for so called child objects from Space (this was an old feature of Space struct, now not needed) 2021-06-26 22:56:12 +02:00
membuffer namespace PT renamed to pt 2021-05-20 16:11:12 +02:00
space added to Space: 2021-06-27 15:58:53 +02:00
textstream added two functions to utf8: 2021-06-25 19:10:01 +02:00
utf8 added two functions to utf8: 2021-06-25 19:10:01 +02:00
Makefile removed definition of CXX and CXXFLAGS from Makefile 2021-05-10 20:07:08 +02:00
Makefile.dep Log class has the Stream class as a base class now 2021-06-24 20:52:48 +02:00