peacemaker1820 has asked for the wisdom of the Perl Monks concerning the following question:
after doing this,$temp = " Hello ";
that will drop all the leading and trailing spaces$temp =~ s/^\s+//;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: TRIM in Perl?
by jmcnamara (Monsignor) on Sep 10, 2002 at 14:05 UTC | |
|
Re: TRIM in Perl?
by samurai (Monk) on Sep 10, 2002 at 15:36 UTC | |
by Aristotle (Chancellor) on Sep 10, 2002 at 16:21 UTC | |
by samurai (Monk) on Sep 12, 2002 at 13:28 UTC | |
|
Re: TRIM in Perl?
by charnos (Friar) on Sep 10, 2002 at 16:31 UTC | |
by Aristotle (Chancellor) on Sep 10, 2002 at 16:45 UTC | |
|
Re: TRIM in Perl?
by Rabenschwinge (Novice) on Jan 12, 2011 at 10:34 UTC | |
by Corion (Patriarch) on Jan 12, 2011 at 10:43 UTC | |
by Anonymous Monk on Jan 12, 2011 at 10:42 UTC | |
by Anonymous Monk on Feb 10, 2011 at 10:01 UTC |