Function ros2_control::strip

Function Documentation

std::string ros2_control::strip(const std::string &str)

Remove trailing and leading whitespaces from a string.

Parameters:

str – The string to remove whitespaces from.

Returns:

The string without whitespaces.