On Mon, 9 Jun 2003, Charles Kline wrote:
> Yes. Is weird. I thought this would work too, but for some reason it
> was not removing them all. I wonder if re-saving the files with UNIX
> linebreaks (or try DOS) would have any effect. Will report back.
$str = str_replace (array("\r", "\n"), '', $s
On Sun, 2003-06-08 at 22:44, Charles Kline wrote:
> Hi all,
>
> How would i go about stripping all newlines from a string?
>
> Thanks,
> Charles
Something like this:
Good luck,
Torben
--
Torben Wilson <[EMAIL PROTECTED]>+1.604.709.0506
http://www.thebuttlesschap
Yes. Is weird. I thought this would work too, but for some reason it
was not removing them all. I wonder if re-saving the files with UNIX
linebreaks (or try DOS) would have any effect. Will report back.
- Charles
On Monday, June 9, 2003, at 02:24 AM, Joe Pemberton wrote:
http://www.php.net/str
How to remove new line / CrLf from a string
http://examples.weberdev.com/get_example.php3?count=3577
Sincerely
berber
Visit http://www.weberdev.com/ Today!!!
To see where PHP might take you tomorrow.
-Original Message-
From: Charles Kline [mailto:[EMAIL PROTECTED]
Sent: Monday, June 0
4 matches
Mail list logo