Re: [PHP-DB] Find and replace in a string

2003-01-26 Thread Paul Chvostek
On Mon, Jan 27, 2003 at 12:57:10AM +0200, Nikos Gatsis wrote: > > Hi list! > I have a sting that contains some occurances of "{...}" sub-strings, where "" is >some text. > Which is the way to find and replace the "{...}" with an other of my own. > This sub-strings start with "{" and end with "

RE: [PHP-DB] Find and replace in a string

2003-01-26 Thread John W. Holmes
> I have a sting that contains some occurances of "{...}" sub-strings, where > "" is some text. > Which is the way to find and replace the "{...}" with an other of my own. > This sub-strings start with "{" and end with "}". If you know what the text is between { and }, then use $new_str = str