Add helper lib for strings and vectors

This commit is contained in:
Vyn 2024-04-12 20:58:13 +02:00
parent 6ef9740db9
commit 2bb7fcfcc6
10 changed files with 168 additions and 123 deletions

View file

@ -11,15 +11,15 @@
#include <cctype>
#include <locale>
#include <regex>
#include <cpp-utils/string.h>
#include <cpp-utils/vector.h>
void ltrim(std::string& s);
void rtrim(std::string& s);
void trim(std::string& s);
namespace mirai {
namespace stringUtils = cpputils::string;
namespace vectorUtils = cpputils::vector;
std::string ltrim_copy(std::string s);
std::string rtrim_copy(std::string s);
std::string trim_copy(std::string s);
bool isDate(const std::string& dateStr);
}
bool isDate(const std::string& dateStr);
#endif