Function plansys2::substr_without_empty_lines

Function Documentation

std::string plansys2::substr_without_empty_lines(std::string string, std::size_t init_pos, std::size_t end_pos)

Get a substring without empty lines.

Parameters:
  • string[in] The original string.

  • init_pos[in] The first character in the original string.

  • end_pos[in] The last character in the original string.

Returns:

std::string A substring without empty lines.