Function trim

Returns a string with any whitespace trimmed from str.

string trim (
  string str
);