| 37 | } |
| 38 | |
| 39 | void trim_inplace(std::wstring &s) { |
| 40 | ltrim_inplace(s); |
| 41 | rtrim_inplace(s); |
| 42 | } |
| 43 | |
| 44 | size_t find_case_insensitive(const std::string_view &str_haystack, const std::string_view &str_needle) { |
| 45 | // courtesy of https://stackoverflow.com/a/19839371/1269661 |
no test coverage detected