String

Trim/Strip

Remove the whitespace from the beginning and end of a string:

$.trim(str)