title: Smarty If URL Contains
body: <p>Using Smarty Tags I'd like to determine if an URL contains a word, something like:</p>
  
  <pre><code>{if $smarty.get.page contains "product.php"} .....
  </code></pre>
  
  <p>I know contains doesn't exist, but how could I easily go about writing something similar to achieve the above code?</p>