log4tango::StringUtil(3) | log4tango | log4tango::StringUtil(3) |
log4tango::StringUtil
#include <StringUtil.hh>
static std::string vform (const char *format, va_list args)
Returns a string constructed from the a format specifier and a va_list of
arguments, analogously to vprintf(3). static std::string trim (const
std::string &s)
Returns a string identical to the given string but without leading or trailing
HTABs or spaces. static unsigned int split (std::vector<
std::string > &v, const std::string &s, char delimiter, unsigned
int maxSegments=INT_MAX)
splits a string into a vector of string segments based on the given delimiter.
template<typename T > static unsigned int split (T &output,
const std::string &s, char delimiter, unsigned int maxSegments=INT_MAX)
splits a string into string segments based on the given delimiter and assigns
the segments through an output_iterator.
splits a string into a vector of string segments based on the given delimiter.
Parameters
Returns
splits a string into string segments based on the given delimiter and assigns the segments through an output_iterator.
Parameters
Returns
Returns a string identical to the given string but without leading or trailing HTABs or spaces.
Returns a string constructed from the a format specifier and a va_list of arguments, analogously to vprintf(3).
Parameters
Generated automatically by Doxygen for log4tango from the source code.
Sat Jan 9 2021 | Version 5.0.2 |