* dan <[EMAIL PROTECTED]> [010729 11:11]:
> Problem is, the only new lines are at the end of paragraphs, so that, in
> effect, is limiting them to 55 paragraphs.  I'm using a <textarea
> wrap=physical> which says that it adds a "%0A%0D" (carriage return/line
> feed) at the end of each line.  
> 
> Anyone know how to convert that to a "\n" ?

I don't understand what you're saying about the new lines and end of
paragraphs.  But if you want to convert CRLF to LF, try:

str_replace("\r\n","\n",$string);

-- 
Jan Wilson, SysAdmin     _/*];          [EMAIL PROTECTED]
Corozal Junior College   |  |:'  corozal.com corozal.bz
Corozal Town, Belize     |  /'  chetumal.com & linux.bz
Reg. Linux user #151611  |_/   Network, SQL, Perl, HTML


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to