23std::vector<std::string>
Split(std::string_view str, std::string_view delims,
bool skipEmpty )
25 std::vector<std::string> out;
29 while ((end = str.find_first_of(delims, beg)) != std::string::npos) {
30 if (!skipEmpty || end > beg)
31 out.emplace_back(str.substr(beg, end - beg));
34 if (!skipEmpty || str.size() > beg)
35 out.emplace_back(str.substr(beg, str.size() - beg));
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
#define Split(a, ahi, alo)