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

don't think it'd be any faster with the regex ones...


Rene


At 01:18 18-04-2004, Russell P Jones wrote:
How do i turn this...

[br]
  [b]My Title [/b]
[br]

into

[br][b]My Title[/b][br]


--- I just need to have line breaks removed basically...


any ideas?

Russ Jones

-- Rene Brehmer aka Metalbunny

~ If you don't like what I have to say ... don't read it ~

http://metalbunny.net/
References, tools, and other useful stuff...
Check out the new Metalbunny forums @ http://forums.metalbunny.net/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to