http://beecoder.org/zh-cn/javascript/replace-characters-of-a-string-in-javascript
替换字符串的字符, JavaScript