Java Script

Javascript get last characters from a URL or string