Function cras::strip(::std::string&, const char&)

Function Documentation

void cras::strip(::std::string &s, const char &c = ' ')

Strip c from the beginning and end of the given string (if it is there).

Parameters:
  • s[inout] The string from which c should be removed.

  • c[in] The character to remove.