Sorry. Since you were looking to use <br>, I thought you were creating HTML content. But then, line feeds are ignored in HTML so then you wouldn't have a problem with them. I should have thought of that.
How are you reading the file? The key being that you said you read it "line by line". Once you read a line, could you just grab the first length-1 characters and then do your parsing on that? On Friday, September 6, 2002, at 12:46 PM, David T-G wrote: > I don't want to simply add a <br>; I want to *replace* the newline (and > return, as we found out in a subthread). -- Brent Baisley Systems Architect Landover Associates, Inc. Search & Advisory Services for Advanced Technology Environments p: 212.759.6400/800.759.0577 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php