Fixed trim() method for issue #25
Merge pull request #28 from jerrylroberts/master

Fixed trim() method for issue #25