Hi,
PHP question. Is it possible to remove a section of text from a string ?
lets say I have a string $example="[caption id="text"] I want to remove this text [/caption] But I want to keep this bit"
And i want to strip out "[caption id="text"] I want to remove this text [/caption]" from the string, how is this done?
thanks
PHP question. Is it possible to remove a section of text from a string ?
lets say I have a string $example="[caption id="text"] I want to remove this text [/caption] But I want to keep this bit"
And i want to strip out "[caption id="text"] I want to remove this text [/caption]" from the string, how is this done?
thanks