Function cras::stripLeadingSlash(::std::string&, bool)
Defined in File string_utils.hpp
Function Documentation
-
void cras::stripLeadingSlash(::std::string &s, bool warn = false)
Strip leading slash from the given string (if there is one).
- Parameters:
s – [inout] The string from which slash should be removed.
warn – [in] If true, issue a ROS warning if the string contained the leading slash.