PHPスクリプト
文字列の置換
mixed str_replace(mixed old, mixed new, mixed v) 値 v の中にある old を new に置き換えます。
<?PHP $str = "WindowsサーバとLinuxサーバ"; print str_replace("サーバ", "Server", $str); ?>