* @brief Trim from both ends of string (right then left) * * @param s string to trim * @return std::string trimmed string */
| 91 | * @return std::string trimmed string |
| 92 | */ |
| 93 | inline std::string trim(std::string s) |
| 94 | { |
| 95 | return ltrim(rtrim(s)); |
| 96 | } |
| 97 | |
| 98 | /** |
| 99 | * @brief Add commas to a string (or dots) based on current locale server-side |
no test coverage detected