Mercurial > minori
comparison include/core/strings.h @ 10:4b198a111713
Update
things actually compile now btw
qttest wants to fuck over the model but that might be my fault so /shrug
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sat, 16 Sep 2023 02:06:01 -0400 |
parents | 5c0397762b53 |
children | cde8f67a7c7d |
comparison
equal
deleted
inserted
replaced
9:5c0397762b53 | 10:4b198a111713 |
---|---|
1 #ifndef __core__strings_h | 1 #ifndef __core__strings_h |
2 #define __core__strings_h | 2 #define __core__strings_h |
3 #include <string> | 3 #include <string> |
4 #include <vector> | 4 #include <vector> |
5 namespace StringUtils { | 5 namespace Strings { |
6 /* Implode function: takes a vector of strings and turns it | 6 /* Implode function: takes a vector of strings and turns it |
7 into a string, separated by delimiters. */ | 7 into a string, separated by delimiters. */ |
8 std::string Implode(const std::vector<std::string>& vector, const std::string& delimiter); | 8 std::string Implode(const std::vector<std::string>& vector, const std::string& delimiter); |
9 | 9 |
10 /* Substring removal functions */ | 10 /* Substring removal functions */ |