MCPcopy Create free account
hub / github.com/boutproject/BOUT-dev / strsplit

Function strsplit

src/sys/utils.cxx:117–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117std::list<std::string> strsplit(const std::string& s, char delim) {
118 std::list<std::string> elems;
119 return strsplit(s, delim, elems);
120}
121
122// Strips leading and trailing spaces from a string
123std::string trim(const std::string& s, const std::string& c) {

Callers 2

readMethod · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68