pikotools/src/convert
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.h added to Space: long double to Space::Value and methods for converting from/to long double 2021-06-23 17:01:43 +02:00
double.cpp added to Space: long double to Space::Value and methods for converting from/to long double 2021-06-23 17:01:43 +02:00
double.h added to Space: long double to Space::Value and methods for converting from/to long double 2021-06-23 17:01:43 +02:00
inttostr.cpp namespace PT renamed to pt 2021-05-20 16:11:12 +02:00
inttostr.h namespace PT renamed to pt 2021-05-20 16:11:12 +02:00
misc.cpp namespace PT renamed to pt 2021-05-20 16:11:12 +02:00
misc.h namespace PT renamed to pt 2021-05-20 16:11:12 +02:00
patternreplacer.h namespace PT renamed to pt 2021-05-20 16:11:12 +02:00
strtoint.h namespace PT renamed to pt 2021-05-20 16:11:12 +02:00
text.cpp added trim(...) functions to convert/text.h 2021-06-29 23:23:35 +02:00
text.h added trim(...) functions to convert/text.h 2021-06-29 23:23:35 +02:00
text_private.h added trim(...) functions to convert/text.h 2021-06-29 23:23:35 +02:00