this will start at the beginning and only continue as long as there is whitespace left at the beginning of the string.$string =~ s/^\s+//gm;
In reply to Re: How can I strip an arbitary number of leading spaces from a string?
by Anonymous Monk
in thread How can I strip an arbitary number of leading spaces from a string?
by parsec
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |