Bootstrap

js反向截取字符串:lastIndexOf()

var str = "abcdefg";
var index = str.lastIndexOf("c");

;