Function mrpt::system::firstNLines

Function Documentation

std::string mrpt::system::firstNLines(const std::string &str, size_t n)

Returns the first n

lines (splitted by ‘

’ chars) of the given text.

Note

New in MRPT 2.3.2