create modules

This commit is contained in:
2026-01-11 20:59:50 +01:00
parent dd2c6ca810
commit fe02a16416
9 changed files with 0 additions and 14 deletions

View File

@@ -1,10 +0,0 @@
#include <set>
#include <sstream>
#include <string>
void trim(std::string &str) {
str.erase(str.find_last_not_of(' ') + 1);
str.erase(0, str.find_first_not_of(' '));
str.erase(str.find_last_not_of('"') + 1);
str.erase(0, str.find_first_not_of('"'));
}

View File

@@ -1,4 +0,0 @@
#include <string>
// trim string in-place, removing all whitespaces and surrounding '"' symbols
void trim(std::string &str);