在JavaScript 做搜尋並取代字串可以用replace() 來做, 例如: var string = "Hello ... var result = string.replace(/Microsoft/g, "Linux"); ...
確定! 回上一頁