| 94 | }; |
| 95 | |
| 96 | inline bool startsWith(const std::string& str, const char start[], std::size_t startlen) |
| 97 | { |
| 98 | return str.compare(0, startlen, start) == 0; |
| 99 | } |
| 100 | |
| 101 | template<std::size_t N> |
| 102 | bool startsWith(const std::string& str, const char (&start)[N]) |