Function cras::stripTrailing(::std::string&, const char&)
Defined in File string_utils.hpp
Function Documentation
-
void cras::stripTrailing(::std::string &s, const char &c = ' ')
Strip
cfrom the end of the given string (if there is one).- Parameters:
s – [inout] The string from which c should be removed.
c – [in] The character to remove.