1.

How to replace a text in a string with another text in php?

Answer»

We can USE str_replace() METHOD to REPLACE a TEXT in a STRING with another string.

Example

str_replace("interview","interviews","Best interview questions!");



Discussion

No Comment Found