MCPcopy Create free account
hub / github.com/alibaba/loongcollector / SplitString

Function SplitString

core/common/StringTools.cpp:118–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118std::vector<std::string> SplitString(const std::string& str, const std::string& delim) {
119 std::vector<std::string> tokens;
120 boost::split(tokens, str, boost::is_any_of(delim));
121 return tokens;
122}
123
124std::vector<std::string> StringSpliter(const std::string& str, const std::string& delim) {
125 std::vector<std::string> tokens;

Callers 11

InitMethod · 0.85
ProcessEventMethod · 0.85
TestProcessMethod · 0.85
TestDeduceYearMethod · 0.85
GetPIDNsInodeMethod · 0.85
LoadEnvTagsMethod · 0.85
LoadResourceConfMethod · 0.85
InitMethod · 0.85
InitMethod · 0.85

Calls

no outgoing calls

Tested by 2

TestProcessMethod · 0.68
TestDeduceYearMethod · 0.68