MCPcopy Create free account
hub / github.com/amwatson/CitraVR / SplitString

Function SplitString

src/common/string_util.cpp:117–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117std::vector<std::string> SplitString(const std::string& str, const char delim) {
118 std::istringstream iss(str);
119 std::vector<std::string> output(1);
120
121 while (std::getline(iss, *output.rbegin(), delim)) {
122 output.emplace_back();
123 }
124
125 output.pop_back();
126 return output;
127}
128
129std::string TabsToSpaces(int tab_size, std::string in) {
130 std::size_t i = 0;

Callers 10

SetCheckBoxDefaultsMethod · 0.85
PathParserMethod · 0.85
GatewayCheatMethod · 0.85
ToStringMethod · 0.85
ListFormatsFunction · 0.85
LoadPresetKeysFunction · 0.85
HandleHioReplyFunction · 0.85
ParamPackageMethod · 0.85
ParseFilenameMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected