|
|
|
@ -14,6 +14,8 @@ const std::string getSchemeFromURL(const std::string &url);
@@ -14,6 +14,8 @@ const std::string getSchemeFromURL(const std::string &url);
|
|
|
|
|
std::vector<std::string> split(const std::string &text, char sep); |
|
|
|
|
std::vector<std::string> parseSepButNotBetween(std::string string, std::string sep, std::vector<std::string> open, std::vector<std::string> close); |
|
|
|
|
|
|
|
|
|
bool in_array(std::string needle, std::vector<std::string> haystack); |
|
|
|
|
|
|
|
|
|
// from https://stackoverflow.com/a/25385766/7697705
|
|
|
|
|
|
|
|
|
|
// trim from end of string (right)
|
|
|
|
|