var str = "/asdasf/asfaewf/agaegr/trer/rhh";
var index = str .lastIndexOf("\/");  
str  = str .substring(index + 1, str .length);
alert(str );

 

相关文章:

  • 2021-12-28
  • 2021-05-19
  • 2022-03-07
  • 2021-11-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-24
  • 2022-12-23
相关资源
相似解决方案