js截取字符串
function jzmac(start,end,str){
startid=str.indexOf(start);//开始的id
endid=str.indexOf(end);//获取结束的id
startlen=start.length
return str.substring(startid+startlen,endid)
}
function jzmac(start,end,str){
startid=str.indexOf(start);//开始的id
endid=str.indexOf(end);//获取结束的id
startlen=start.length
return str.substring(startid+startlen,endid)
}
扫描二维码,输入您要打赏的金额