Related Functions

str_replace

PHP 4.0+

Replaces all occurrences of a search string with a replacement string in the given subject, returning a new modified string or array.

Description

The str_replace() Replaces all occurrences of a search string with a replacement string in the given subject, returning a new modified string or array.

Example