On Sat, 7 May 2005
wrote:
> I know how to read in a tab delimited file, but I am having problems
> reading one without ignoring line breaks. The text I am trying to read
> has line breaks in paragraphs that I would like to keep as one token.
>
> Is there a way to read in a text file while ignoring actual line breaks
> and using my own special character to break up the lines?
You don't tell us how you are reading in from the file but I can guess:
Quit using readLine(). By definition it will read up to the first carriage
return or new line character. Write your own method.
--
Send e-mail to: darrell dot grainger at utoronto dot ca