title: Smarty substr string skip first characters
body: <p>The variable <code>$siteroot</code> contains a string that looks like:</p>
  
  <p><a href="http://www.example.nl/folder/">http://www.example.nl/folder/</a></p>
  
  <p>To get the part <a href="http://www.example.nl/">http://www.example.nl/</a> you use:</p>
  
  <p><code>{$siteroot|substr:0:22}</code></p>
  
  <p>But i want to skip this part and return /folder/</p>
  
  <p>The length of the folder is unknown.</p>