title: How can I cut a substring from a string to the end using Javascript?
body: <p>I have a url:</p>
  
  <pre><code>http://localhost/40ATV/dashboard.php?page_id=projeto_lista&amp;lista_tipo=equipe
  </code></pre>
  
  <p>I want to get the address after the last dash using javascript:</p>
  
  <pre><code>dashboard.php?page_id=projeto_lista&amp;lista_tipo=equipe
  </code></pre>