摘要: 例如:var str='q1207526854'str.substring(form,to):从字符串里截取下标为form到下标为to的字符串(不包括to对应的字符)alert(str.substring(2,6)) // 2075 当form>to时,substring会把较小的参数作为第一参数... 阅读全文
posted @ 2015-11-12 15:42 蛋蛋的小家 阅读(255) 评论(0) 推荐(0) 编辑