5#ifndef DEEPRTS_STRING_H
6#define DEEPRTS_STRING_H
15 static std::vector<std::string>
split(
const std::string& str,
const std::string& sep){
16 char* cstr=
const_cast<char*
>(str.c_str());
18 std::vector<std::string> arr;
19 current=strtok(cstr,sep.c_str());
21 arr.emplace_back(current);
22 current=strtok(NULL,sep.c_str());
static std::vector< std::string > split(const std::string &str, const std::string &sep)
Definition: String.h:15