$string =~ s/^\s*//g; [download]
In reply to (jeffa) Re: uses of split by jeffa in thread uses of split by Anonymous Monk