摘要: var str = str.substring(0,str.length-1); alert(str);注:length 需小写。 阅读全文
posted @ 2015-02-27 14:52 醉洒脱 阅读(537) 评论(0) 推荐(0) 编辑