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

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

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