| 12 | namespace details |
| 13 | { |
| 14 | VTK_ABI_NAMESPACE_BEGIN |
| 15 | // trim strings. This should go in vtksys at some point |
| 16 | static inline void ltrim(std::string& s) |
| 17 | { |
| 18 | s.erase(s.begin(), |
| 19 | std::find_if(s.begin(), s.end(), [](unsigned char ch) { return !std::isspace(ch); })); |
| 20 | } |
| 21 | static inline void rtrim(std::string& s) |
| 22 | { |
| 23 | s.erase( |