All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StringOperation Class Reference

#include "utils.h"

Static Public Member Functions

static std::string TRIMWHITESPACE (std::string strInput)

Detailed Description

Definition at line 40 of file utils.h.

Member Function Documentation

static std::string StringOperation::TRIMWHITESPACE ( std::string  strInput)

Definition at line 42 of file utils.h.

42  {
43  std::string strOut = strInput;
44  std::string strWht = " \f\n\r\t\v";
45  strOut.erase(0, strOut.find_first_not_of(strWht));
46  strOut.erase(strOut.find_last_not_of(strWht) + 1);
47  return strOut;
48  };

The documentation for this class was generated from the following file: