Function ros2_ouster::ltrim

Function Documentation

inline std::string &ros2_ouster::ltrim(std::string &str, const std::string &white = "\t\n\v\f\r ")

Trims whitespace from the left side of a string

Parameters
  • str – The string to trim

  • white – Whitespace characters to erase

Returns

A reference to the trimmed string