title: Smarty - How to store part of string from url to variable?
body: <p>I don't know and I can't find on the internet how to store result of function explode to variable. What I am doing wrong ? REQUEST_URI is: /cz/cs/15_test.html . 15_test.html is what I need store in my variable. Thank you very much for help.</p>
  
  <p>SMARTY:</p>
  
  <pre><code>{assign var="url_catname" value=explode("/",$smarty.server.REQUEST_URI)}
  {assign var="url_catname" value=$url_catname[3]}
  </code></pre>