Re: Breaking up a line and using the text?

From: Date: Mon, 05 Feb 2001 15:01:33 +0000
Subject: Re: Breaking up a line and using the text?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-38243@lists.php.net to get a copy of this message
On Monday 05 February 2001 13:59, jaskirat wrote: > $string = ereg_replace(" ","\n",$string) simpler and faster: str_replace(), explode() and split() > >Original line > > Hi my name is Sam Rose > > > >Which can then be broken down into > > Hi > > My > > Names > > is > > Sam Rose -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) The most exciting phrase to hear in science, the one that heralds new discoveries, is not "Eureka", but "That's funny..." - Isaac Asimov

« previous php.general (#38243) next »