I have the following array with white spaces.

$values = array(' one ','two ',' three ');

and I want it like

$values = array('one ','two','three ');

Any idea?