|Keep It Simple, Stupid|
remove both leading and trailing spacesby s_mile (Acolyte)
|on Sep 26, 2003 at 06:08 UTC||Need Help??|
s_mile has asked for the wisdom of the Perl Monks concerning the following question:
Is there a "smart way" :) to remove both the leading and trailing spaces in a string?
Is there a way to do the same in just one statement?
'Ask and ye shall recieve. Seek and ye shall find'.
update (broquaint): tidied up formatting + removed <br> tags from <code> tags