1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-16 02:47:36 +02:00
vcmi/lib/vstd/StringUtils.cpp

15 lines
270 B
C++
Raw Normal View History

#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;
}
}