There isn't a built in trim function but japhy wrote a nice one: trim() magic
You will find a discussion on this in perlfaq4 How do I strip blank space from the beginning/end of a string?.
--
John.
In reply to Re: TRIM in Perl?
by jmcnamara
in thread TRIM in Perl?
by peacemaker1820
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |