PHP str_replace() 函数
实例
把字符串 "Hello world!" 中的字符 "world" 替换为 "Boos":
<?php echo str_replace("world","Boos","Hello world!"); ?>
名称(*)