Function cras::stripLeading(const ::std::string&, const char&)
Defined in File string_utils.hpp
Function Documentation
-
::std::string cras::stripLeading(const ::std::string &s, const char &c = ' ')
Return a copy of the given string with c removed from its start (if there is one).
- Parameters:
s – [in] The string from which c should be removed.
c – [in] The character to remove.
- Returns:
The string without c at the start.