2021-11-20 18:37:20 +01:00
|
|
|
#include <iostream>
|
2022-02-12 16:04:48 +01:00
|
|
|
#include <StringTools.h>
|
2021-11-20 18:37:20 +01:00
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
2022-03-13 15:52:53 +01:00
|
|
|
std::vector<std::string> foo =
|
2022-03-13 16:42:40 +01:00
|
|
|
StringTools::Split(",,Hello,,lol,,test,,", ",,");
|
2022-03-13 15:52:53 +01:00
|
|
|
|
|
|
|
for (const auto& it : foo)
|
|
|
|
std::cout << "'" << it << "'" << std::endl;
|
2022-02-11 00:33:03 +01:00
|
|
|
|
|
|
|
return 0;
|
2021-11-20 18:37:20 +01:00
|
|
|
}
|