title: How to get the last word from a URL?
body: <p>Is there a method to extract just the last word from the URL example below? I would like to be able to use this as a heading on a page, i.e the "Account" page.</p>
  
  <p>I found that by using <code>request.path</code> it will give me the path without the root but I'm not sure how to get just the last path name.</p>
  
  <pre><code>/users/1234/account
  </code></pre>