如何使用jQuery从字符串中删除最后一个字符

1.string.slice(0,-1)

2.str.substring(0,str.length-1)

posted on 2019-01-24 15:51  巴黎夜雨……  阅读(2155)  评论(0编辑  收藏  举报