title: How to get part of the path with jQuery?
body: <p>I have following URL <code>www.webiste.com/Services/allservices.html</code></p>
  
  <p>How could I get part of this URL with jQuery?</p>
  
  <p>e.g '<code>services'</code>
  or '<code>allservices.html'</code></p>
  
  <p>Any suggestion much appreciated. </p>