| 56 | } |
| 57 | |
| 58 | inline static bool StartsWith(const std::string& str, const std::string prefix) { |
| 59 | if (str.substr(0, prefix.size()) == prefix) { |
| 60 | return true; |
| 61 | } else { |
| 62 | return false; |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | inline static std::vector<std::string> Split(const char* c_str, char delimiter) { |
| 67 | std::vector<std::string> ret; |
no test coverage detected