| 157 | } |
| 158 | |
| 159 | std::string StringUtilities::TrimLeft(const std::string& input) { |
| 160 | size_t startpos = input.find_first_not_of(WHITESPACE); |
| 161 | return (startpos == std::string::npos) ? "" : input.substr(startpos); |
| 162 | } |
| 163 | |
| 164 | std::string StringUtilities::TrimRight(const std::string& input) { |
| 165 | size_t endpos = input.find_last_not_of(WHITESPACE); |
nothing calls this directly
no outgoing calls
no test coverage detected