Min.Dom

专注C#

导航

2004年12月16日

javascript 中的replace方法

摘要: 第一次发现javascript中replace() 方法如果直接用str.replace("-","!") 只会替换第一个匹配的字符. replace() The replace() method returns the string that results when ... 阅读全文

posted @ 2004-12-16 16:20 min 阅读(13524) 评论(7) 推荐(0) 编辑