会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
JSer_cnblog
博客园
首页
新随笔
新文章
联系
订阅
管理
2017年1月16日
【repost】js字符串函数
摘要: JS自带函数concat将两个或多个字符的文本组合起来,返回一个新的字符串。var a = "hello";var b = ",world";var c = a.concat(b);alert(c);//c = "hello,world"indexOf返回字符串中一个子串第一处出现的索引(从左到右搜
阅读全文
posted @ 2017-01-16 21:08 JSer_cnblog
阅读(123)
评论(0)
推荐(0)
编辑