JavaScript replace () 方法JavaScript String 对象实例在本例中, ... var str="Mr Blue has a blue house and a blue car"; var n=str.replace(/blue/g,"red");.
確定! 回上一頁