How can trim the whitespaces from beginning and end

Jan 23, 2014 at 3:46 AM
Plz sugest for the same.