⭐ in reply to How do I remove whitespace at the beginning or end of my string?
You want to do a
s/^\s+//
followed by a
s/\s+$//
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Answer: How do I remove whitespace at the beginning or end of my string?
by PERLscienceman (Curate) on Feb 21, 2004 at 12:57 UTC |
In Section
Seekers of Perl Wisdom