从后往前查找去掉字符串最指定元素

paramsStr = paramsStr.substr(0,paramsStr.lastIndexOf('&'))

posted @ 2019-12-26 21:29  小白咚  阅读(506)  评论(0编辑  收藏  举报