String sg ="12312/412"
//截取/之后的内容,包含/可以把indexs+1改为+0
int indexs = sg.indexOf("/");
        String newStr = sg.substring(indexs + 1);

 

相关文章: