| 198 | } |
| 199 | |
| 200 | std::string_view trimLeft( std::string_view str ) |
| 201 | { |
| 202 | size_t pos = 0; |
| 203 | while ( pos < str.size() && isAscii( str[pos] ) && std::isspace( str[pos] ) ) |
| 204 | ++pos; |
| 205 | return str.substr( pos ); |
| 206 | } |
| 207 | |
| 208 | std::string_view trimRight( std::string_view str ) |
| 209 | { |
no test coverage detected