> I have a sting that contains some occurances of "{...}" sub-strings,
> "...." is some text.
> Which is the way to find and replace the "{...}" with an other of my
> This sub-strings start with "{" and end with "}".

If you know what the text is between { and }, then use

$new_str = str_replace("{test}","replacement",$old_str);

If you don't, then you can use a regular expression to match and replace

---John Holmes...

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to