From f40d09cb8f712e87691af4912f3630d92d692779 Mon Sep 17 00:00:00 2001 From: untodesu Date: Thu, 11 Dec 2025 15:14:26 +0500 Subject: Shuffle stuff around - Use the new and improved hierarchy I figured out when making Prospero chat - Re-add NSIS scripts, again from Prospero - Update most build and utility scripts with their most recent versions --- src/core/utils/string.hh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/core/utils/string.hh (limited to 'src/core/utils/string.hh') diff --git a/src/core/utils/string.hh b/src/core/utils/string.hh new file mode 100644 index 0000000..827c3ca --- /dev/null +++ b/src/core/utils/string.hh @@ -0,0 +1,17 @@ +#pragma once + +namespace utils +{ +bool is_whitespace(const std::string& string); +} // namespace utils + +namespace utils +{ +std::string join(const std::vector& strings, const std::string& separator); +std::vector split(const std::string& string, const std::string& separator); +} // namespace utils + +namespace utils +{ +std::string trim_whitespace(const std::string& string); +} // namespace utils -- cgit