Function Dune::XT::Common::trim

Function Dune::XT::Common::trim

void Dune::XT::Common::trim(std::string &s)

Removes whitespace from front and back of the string.

:param s: [in] String to be trimmed

Function Dune::XT::Common::trim

void Dune::XT::Common::trim(std::vector<std::string> &v)

Removes whitespace from front and back of each string in the vector.

:param v: [in] Vector of strings to be trimmed