#ifndef F7CFE6A7_34BF_4E04_94CF_DB8374980631 #define F7CFE6A7_34BF_4E04_94CF_DB8374980631 #include #include #include std::vector split(const std::string& s, char delimiter) { std::vector tokens; std::string token; std::istringstream tokenStream(s); while (std::getline(tokenStream, token, delimiter)) { tokens.push_back(token); } return tokens; } #endif /* F7CFE6A7_34BF_4E04_94CF_DB8374980631 */