mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-16 02:47:36 +02:00
15 lines
270 B
C++
15 lines
270 B
C++
|
#include "StdInc.h"
|
||
|
#include <vstd/StringUtils.h>
|
||
|
|
||
|
namespace vstd
|
||
|
{
|
||
|
|
||
|
DLL_LINKAGE std::vector<std::string> split(std::string s, std::string separators)
|
||
|
{
|
||
|
std::vector<std::string> result;
|
||
|
boost::split(result, s, boost::is_any_of(separators));
|
||
|
return result;
|
||
|
}
|
||
|
|
||
|
}
|