std::string OEStringStripWhiteSpace(const std::string &str)
Returns a copy of the specified string parameter (str) which has had all whitespace characters at the beginning and the end of the text string removed.
str