my $str = "\nxyz\nabc\n"; $str =~ s/^\n//; [download]
In reply to Re: Remove newline character from start of string by Ratazong in thread Remove newline character from start of string by danj35