The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
PHP - How to replace a particular word in a string variable
Say i have a variable called $booktitle which is a string containing titles of children's story books.
In this string, i can have values like 'Instock - The Lord of the Rings' 'Instock - The Lord of the Rings vol.2' and so on. However i want to print the variable without the instock wording. Hence how can i replace it such that when printing out the list, it would ignore the instock wording and in its place put 'It's available in stores!' instead ? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|