http://www.perlmonks.org?node_id=864983


in reply to trimming space from both sides of a string

I've always liked japhy's trim().

    --k.