lundi 18 juillet 2016

Get content between second last and last slash


I have a url like the following

http://localhost:8000/test/

What is the tidiest way of getting test from this using plain javascript/jQuery?


Aucun commentaire:

Enregistrer un commentaire