StringUtils.cpp 270 B

1234567891011121314
  1. #include "StdInc.h"
  2. #include <vstd/StringUtils.h>
  3. namespace vstd
  4. {
  5. DLL_LINKAGE std::vector<std::string> split(std::string s, std::string separators)
  6. {
  7. std::vector<std::string> result;
  8. boost::split(result, s, boost::is_any_of(separators));
  9. return result;
  10. }
  11. }