Mercurial > minori
diff include/core/strings.h @ 226:f784b5b1914c
settings: add library page
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 08 Jan 2024 21:23:00 -0500 |
parents | c39ad2a8587d |
children | 862d0d8619f6 |
line wrap: on
line diff
--- a/include/core/strings.h Mon Jan 08 17:07:01 2024 -0500 +++ b/include/core/strings.h Mon Jan 08 21:23:00 2024 -0500 @@ -3,6 +3,7 @@ #include <string> #include <vector> +#include <set> #include <sstream> #include <cstdint> @@ -16,6 +17,7 @@ * into a string, separated by delimiters. */ std::string Implode(const std::vector<std::string>& vector, const std::string& delimiter); +std::string Implode(const std::set<std::string>& set, const std::string& delimiter); std::vector<std::string> Split(const std::string &text, const std::string& delimiter); /* Substring removal functions */