jQuery's $.trim() Method
Click the "Trim" button to trim the content of the first input and put it into the 2nd input.
Input 1 (untrimmed):
Input 2 (trimmed):
Trim