stringObject.substring(start,stop) 返回start到stop之前 不包括stop stringObject.slice(start,end) start 到end 包括end
substring splice
原文:http://www.cnblogs.com/znsongshu/p/6079426.html