How To Remove Newline Characters
Computing : Learning Perl The easiest way to remove newline characters in Perl is with the chomp command, for instance to remove off the lines of input: while ($lines= chomp; # code goes here }
Questions about Learn Perl:how to remove a newline from a text file?...- Fri, Mar 17th 2006
|
|