Sorry. I misunderstood you. This would do it.
$s =~ s[^ ][]mg while not $s =~ m[^[^ ]]mg;
In reply to Re: Re: Re: Remove leading spaces (left justify)
by BrowserUk
in thread Remove leading spaces (left justify)
by eyepopslikeamosquito
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |