in reply to Re: How to eliminate white spaces,tabs,new lines at thestart and end of a long string ??
in thread How to eliminate white spaces,tabs,new lines at thestart and end of a long string ??
Or, as I prefer,
s/^\s+//, s/\s+$// for $string;
Makeshifts last the longest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to eliminate white spaces,tabs,new lines at thestart and end of a long string ??
by Anonymous Monk on Nov 24, 2005 at 09:01 UTC | |
by parv (Parson) on Nov 24, 2005 at 09:20 UTC | |
|
Re^3: How to eliminate white spaces,tabs,new lines at thestart and end of a long string ??
by sauoq (Abbot) on Nov 24, 2005 at 18:02 UTC | |
by Aristotle (Chancellor) on Nov 24, 2005 at 19:55 UTC | |
by sauoq (Abbot) on Nov 25, 2005 at 22:27 UTC |