in reply to Re: Remove newline character from start of stringin thread Remove newline character from start of string
chomp(substr($str, 0, length($/)); [download]