if ($comment1 eq " ") { $comment1 = "n/a"; } if ($comment2 eq " ") { $comment2 = "n/a"; }