Find the “#” character in a string with Javascript

前端 未结 4 1716
野趣味
野趣味 2021-01-23 07:06

I need to parse the given urls via Javascript but I\'m not able to use .split() to accomplish to this.

IE:

  var str = window.location.pathname;
  var su         


        
4条回答
提交回复
热议问题