Help for this page
chomp $var1; # Strip trailing newlines. $var1 =~ s/\n(?=.)/ /g; # Any newline that isn't at the end # of a string gets changed to one space.