title: Is there a method for removing whitespace characters from a string?
body: <p>Is there a <code>string</code> class member function (or something else) for removing all spaces from a string? Something like Python's <code>str.strip()</code> ?</p>