From 5fbf07f946995fed76804555a7a5e38f1ef94f38 Mon Sep 17 00:00:00 2001 From: Leonetienne Date: Sun, 13 Mar 2022 16:42:40 +0100 Subject: Added tests for string-split, and fixed some bigs --- Exec/.main.cpp.swp | Bin 0 -> 12288 bytes Exec/main.cpp | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 Exec/.main.cpp.swp (limited to 'Exec') diff --git a/Exec/.main.cpp.swp b/Exec/.main.cpp.swp new file mode 100644 index 0000000..22cdcce Binary files /dev/null and b/Exec/.main.cpp.swp differ diff --git a/Exec/main.cpp b/Exec/main.cpp index bb337a5..ef95632 100644 --- a/Exec/main.cpp +++ b/Exec/main.cpp @@ -4,7 +4,7 @@ int main() { std::vector foo = - StringTools::Split("Hello, lol, test", ", "); + StringTools::Split(",,Hello,,lol,,test,,", ",,"); for (const auto& it : foo) std::cout << "'" << it << "'" << std::endl; -- cgit v1.2.3