Readline method does not return entire line

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I am using the readline method in an application. The problem that creeps up
is that for some particular line of text, even though it is < 512 characters,
this method returns text only from the 130th character onwards or
thereabouts. The file in question that I'm scanning is a txt format of stored
procedures.

Regards,
Piyush
 
As a matter of fact, I can. I've been stuck on this problem for quite some
time now.

Regards,
Piyush
 
Piyush said:
As a matter of fact, I can. I've been stuck on this problem for quite some
time now.

Regards,
Piyush

How was this file created? Exported from the SQL Enterprise manager?
Sounds like there is a rogue character in there, like an extra linefeed
or newline, somewhere that makes the readline command puke. Maybe you
could post (or upload to a site) the textfile so people can take a look
at it if you don't mind them seeing the procedure.
 
Back
Top