$.trim$.trim(string) ⇒ string Remove whitespace from beginning and end of a string; just like String.prototype.trim().