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 – original string

  • init_pos – first character in the original string

  • end_pos – last character in the original string

Returns:

a substring without empty lines