| 24 | } |
| 25 | |
| 26 | std::string trim(std::string s, std::string const& space) |
| 27 | { |
| 28 | const auto sbegin = s.find_first_not_of(space); |
| 29 | if (sbegin == std::string::npos) { return std::string{}; } |
| 30 | const auto send = s.find_last_not_of(space); |
| 31 | s = s.substr(sbegin, send-sbegin+1); |
| 32 | return s; |
| 33 | } |
| 34 | |
| 35 | std::string Concatenate (const std::string& root, int num, int mindigits) |
| 36 | { |
no outgoing calls
no test coverage detected