lower [小写]
test.php:
$smarty = new Smarty;
$smarty->assign('articleTitle', 'Two Convicts Evade Noose, Jury Hung.');
$smarty->display('test.html');
test.html:
{$articleTitle}
{$articleTitle|lower}
输出:
Two Convicts Evade Noose, Jury Hung.
two convicts evade noose, jury hung.