Click here to Skip to main content
15,917,618 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to delete lines space by TextPad

ex
1 2 3 4

5 6 7 8

9 3 4 5

i want

1 2 3 4
5 6 7 8
9 3 4 5

i have huge data set i use decision tree
VERY IMPORTANT
THANKS
Posted

Simple recipe:
  1. If you reached the end of the input file then exit.
  2. Read a line from input file.
  3. If the line contains just blanks, goto 1.
  4. Write the read line to the output file.
  5. Goto 1

:)
 
Share this answer
 
v3
1.) open the 'replace' dialog
2.) check on 'regular expressions'
3.) search for: \n\n
4.) replace by: \n
5.) press 'replace all'.
so far - have a nice day.
 
Share this answer
 
Comments
Henry Minute 12-Dec-10 11:59am    
That is not an algorithm, it is instructions on using textpad, it therefore does not answer the OPs question.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900