lower [lowercas...LOGIN

lower [lowercase]

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.

Next Section
<?php echo "lower [小写] ";
submitReset Code
ChapterCourseware