会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
刘俊涛的博客
It is never too late to learn!
首页
新随笔
联系
订阅
管理
2018年6月13日
小程序中字符串转数组如何实现
摘要: JS 字符串转数组: var words =' likely, likely, likely,economic, economic'; //字符串中间已特殊符号隔开 var words = words.split(",");//转成数组类似php的explode函数 JS 字符串去重: function unique (array){ return arr...
阅读全文
posted @ 2018-06-13 14:20 刘俊涛的博客
阅读(17278)
评论(0)
推荐(0)
编辑
公告