module; import ; import ; module shadow_utils; inline std::vector explode(const std::string& s, const char& c) { std::string buff; std::vector v; for (auto n : s) { if (n != c) buff += n; else if (n == c && buff != "") { v.push_back(buff); buff = ""; } } if (buff != "") v.push_back(buff); return v; }