MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/MaterialX / joinStrings

Function joinStrings

source/MaterialXCore/Util.cpp:94–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94string joinStrings(const StringVec& stringVec, const string& sep)
95{
96 string res = stringVec.empty() ? EMPTY_STRING : stringVec[0];
97 for (size_t i = 1; i < stringVec.size(); i++)
98 {
99 res += sep + stringVec[i];
100 }
101 return res;
102}
103
104string replaceSubstrings(string str, const StringMap& stringMap)
105{

Callers 5

addPinPopupMethod · 0.85
upgradeVersionMethod · 0.85
createNamePathFunction · 0.85
Geom.hFile · 0.85

Calls 2

emptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected