Browse Source

add prototype

master
Odilitime 5 years ago
parent
commit
3d305e040d
  1. 2
      src/tools/StringUtils.h

2
src/tools/StringUtils.h

@ -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)

Loading…
Cancel
Save