From the left and right, trim the character.
| 144 | |
| 145 | // From the left and right, trim the character. |
| 146 | inline std::string Trim(std::string str, char c) |
| 147 | { |
| 148 | return LeftTrim(RightTrim(str, c), c); |
| 149 | } |
| 150 | |
| 151 | // From the left and right, trim all the space characters i.e. space, tabulation, etc. |
| 152 | inline std::string Trim(std::string str) |