Function ros2_ouster::trim
Defined in File string_utils.hpp
Function Documentation
-
inline std::string &ros2_ouster::trim(std::string &str, const std::string &white = "\t\n\v\f\r ")
Trims whitespace from the front and back of a string
- Parameters:
str – The string to trim
white – Whitespace characters to erase
- Returns:
A reference to the trimmed string