View Single Post
Old Mar 27th, 2005, 3:31 PM   #3
Rory
Expert Programmer
 
Rory's Avatar
 
Join Date: Jan 2005
Location: London
Posts: 542
Rep Power: 4 Rory is on a distinguished road
Send a message via MSN to Rory
I hate the way sequential, and transaction file methods are drummed into students heads by teachers who learned to program in the 1970s.
The line-by-line concept was only adopted because that was how printers used to work. Nowadays files do not have to be organised by line breaks - just try parsing SGML in that way!
Using a couple of well placed mids and replaces should do the trick, just search between vbcrlf's
Rory is offline   Reply With Quote