Re: Removing ^M

From: Date: Sat, 08 Jun 2002 17:30:19 +0000
Subject: Re: Removing ^M
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-101290@lists.php.net to get a copy of this message
On Sun, 9 Jun 2002, Michael Hall wrote: > I am trying remove ^M characters (some kind of newline character) from > an HTML file. I've tried all sorts of ereg_replace and sed possibilities > but the things just won't go away. Does anyone have a way of removing > such characters? $str = str_replace("\r", '', $str); miguel

« previous php.general (#101290) next »