diff options
Diffstat (limited to 'Exec/main.cpp')
| -rw-r--r-- | Exec/main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Exec/main.cpp b/Exec/main.cpp index b833214..bb337a5 100644 --- a/Exec/main.cpp +++ b/Exec/main.cpp @@ -3,7 +3,11 @@ int main()
{
- std::cout << StringTools::Replace("Hello, ${where}!\n", "${where}", "World") << std::endl;
+ std::vector<std::string> foo =
+ StringTools::Split("Hello, lol, test", ", ");
+
+ for (const auto& it : foo)
+ std::cout << "'" << it << "'" << std::endl;
return 0;
}
|
