var str = industry666;
console.log(str .slice(8)); //666
console.log(str .substring(8)); //666
str .slice(0,8) //industry
str .substring(0,8) //industry
str .slice(0) //返回整个字符串
str .substring(0) //返回整个字符串
替换指定字符串后的字母
var str = 'industry=xx';
var temp = str.substring(str.indexOf('=')+1,str.length);
var strNew =abc.replace(temp,'行业'); --> dsd = 'industry=行业'