in reply to Remove newline character from start of string

Try this:
my $str = "\nxyz\nabc\n"; $str =~ s/^\n//;
HTH, Rata