|
Posted by -Lost on 04/09/07 02:56
"Vince Morgan" <vinhar@REMOVEoptusnet.com.au> wrote in message
news:4618490c$0$16558$afc38c87@news.optusnet.com.au...
> "MS" <MS@nospam.com> wrote in message news:kI-dnT5M7Z06V4rbRVnyiQA@bt.com...
>> "Tyno Gendo" <user@example.com> wrote in message
>> news:PyPRh.45914$kF3.14708@fe1.news.blueyonder.co.uk...
>> > <?php
>> > $text="This is a line\r\nwith carriage\r\nreturns\r\nin it";
>> > echo "<pre>$text</pre>";
>> > $nocr=preg_replace("/\r\n/"," ",$text);
>> > echo "<pre>$nocr</pre>";
>> > ?>
>>
>> Thanks Guys.
>>
>> I had a Mind Block on this one !! I knew about the Trim() limits, except
>> for today !!
>>
>>
> Don't you just hate that. I had a "Mind Block" in about 1996, and I
> hope/expect it will end one day soon :)
Stop taking acid! : )
-Lost
Navigation:
[Reply to this message]
|