js string对象方法

substr(start,length) 

substring(start,end)

返回子串,原字符串不改变。

posted @ 2018-03-16 10:28  Fourteen  阅读(167)  评论(4编辑  收藏  举报