title: Smarty Get File Extension
body: <p>is there a way in Smarty to get the file extension of a string. I have been searching for the explode equivalent although can't seem to find anything. </p>
  
  <p>I am wanting to display a different icon based on the type of file eg. doc,docx,pdf  </p>