- functionReplaceAll(str,sptr,sptr1)
- {
- while(str.indexOf(sptr)>=0)
- {
- str=str.replace(sptr,sptr1);
- }
- //returnstr;
- alert(str);
- }
JS替换字符串
最新推荐文章于 2024-08-17 03:33:52 发布
291

被折叠的 条评论
为什么被折叠?