| 
	
 | 
 Posted by Vince Morgan on 04/08/07 01:40 
"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 :) 
vince
 
  
Navigation:
[Reply to this message] 
 |