PHP 字符串替换

用于从字符串中替换指定字符串。

相关函数如下:

substr_replace()

substr_replace() 函数用于把字符串的一部分替换为另一个字符串,返回混合类型。

语法:

mix substr_replace ( mixed string,&nb...