title: Similar function in C++ to Python's strip()?
body: <p>There is a very useful function in Python called <a href="http://docs.python.org/library/string.html?highlight=strip#string.strip" rel="noreferrer">strip()</a>. Any similar ones in C++?</p>