Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
Trim is a std::string code snippet to remove leading and trailing whitespace from a std::string.
Trim using the STL only
#include <string> |
Trim using Boost
#include <string> |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.