Hi all,
I have to delete (or replace with an empty string) a string segment in a text. Let's say:
$text = "Please see the previous publication (Journal 02/16/2006).";
I want to delete the "(Journal 02/16/2006)" segment, so it becomes:
$text = "Please see the previous publication.";
Can it be done in PHP? Or maybe using a MySQL function, because actually the text is saved in a table and always the ones with "(Journal...)" have to be deleted.
For all hints and helps, thanks!
Andre
I have to delete (or replace with an empty string) a string segment in a text. Let's say:
$text = "Please see the previous publication (Journal 02/16/2006).";
I want to delete the "(Journal 02/16/2006)" segment, so it becomes:
$text = "Please see the previous publication.";
Can it be done in PHP? Or maybe using a MySQL function, because actually the text is saved in a table and always the ones with "(Journal...)" have to be deleted.
For all hints and helps, thanks!
Andre