From cbfc28a946ded64e9402e1e6d32511150339ec72 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 4 Apr 2020 20:09:04 +0200 Subject: Prepare DocRoot(), WIP --- stringutil.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 stringutil.h (limited to 'stringutil.h') diff --git a/stringutil.h b/stringutil.h new file mode 100644 index 0000000..5110e2e --- /dev/null +++ b/stringutil.h @@ -0,0 +1,10 @@ +#pragma once + +#include +#include + +std::string strfmt(const char* fmt, ...); + +std::vector split(std::string value, const std::string separators = "\r\n "); +std::string join(std::vector vs, std::string separator = "\n"); +bool startsWithAnyOfLower(const std::string &s, const std::vector &list); -- cgit v1.2.3