MCPcopy Create free account
hub / github.com/Rezonality/zep / string_split

Function string_split

src/mcommon/string/stringutils.cpp:229–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227}
228
229std::vector<std::string> string_split(const std::string& text, const char* delims)
230{
231 std::vector<std::string> tok;
232 string_split(text, delims, tok);
233 return tok;
234}
235
236// String split with multiple delims
237// https://stackoverflow.com/a/7408245/18942

Callers 5

SetCommandTextMethod · 0.85
StartSymbolSearchMethod · 0.85
HandleExCommandMethod · 0.85
string_split_linesFunction · 0.85
beginMethod · 0.85

Calls 4

find_first_not_ofMethod · 0.80
find_first_ofMethod · 0.80
clearMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected