Re: FAQ: replace first instance (couldn't find in archive)

From: Date: Thu, 28 Jul 2005 14:35:22 +0000
Subject: Re: FAQ: replace first instance (couldn't find in archive)
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-219512@lists.php.net to get a copy of this message
On 7/28/05, Jochem Maas <jochem@iamjochem.com> wrote: > Dotan, > now _I'm_ sending _you_ multiple copies (last one didn't go to the list by mistake!) > > php -r ' > echo preg_replace("#the#","a","Then the big bear ate the little cat in > the north of the woods.",1), "\n"; > ' Wow! It was those hash signs. They didn't teach me THAT at the Primate Programmers course... Now on to google to go learn about those hash signs... Dotan http://lyricslist.com/lyrics/artist_albums/119/clapton_eric.php Clapton, Eric Song Lyrics

« previous php.general (#219512) next »