| 92 | } |
| 93 | |
| 94 | string 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 | |
| 104 | string replaceSubstrings(string str, const StringMap& stringMap) |
| 105 | { |
no test coverage detected