replace () 方法用于在字符串中用一些字符替换另一些字符,或替换一个与正则表达式匹配的子串 ... document.write( str.replace(/Microsoft/g, "W3School") ) </script>.
確定! 回上一頁