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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php