modifier.exp.php 99 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 <?php function smarty_modifier_exp($str,$k) { $arr = explode('-',$str); return $arr[$k]; } ?>