Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remove Word Wrap

Status
Not open for further replies.

rstum2005

Programmer
Jun 9, 2005
117
US
I have a file with multiple lines and id like to remove every other lines '/n'

for example change this-

Firstname Lastname City State Address
Homephone Workphone
Josh Luis Deland OK 921 Golf Drive
7778888 9991234

to this-

Firstname Lastname City State Address Homephone Workphone
Josh Luis Deland OK 921 Golf Drive 7778888 9991234



Thanks


"Success consists of going from failure to failure without loss of enthusiasm."
Winston Churchill~
 
Possibly using a regualar expression, with a match evaluator. You could then keep track of the match count and replace every even match with " ".


Hope this helps.

[vampire][bat]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top