in reply to Re: Strip leading and trailing blanksin thread Strip leading and trailing blanks
Check out trim() by japhy... a really neat sub that wraps and builds upon this very solution.
--k.