bet亚洲官方网站-bet3365娱乐场手机版

upper

将变量值转成大写字母。 等同于PHP的 strtoupper()函数。

Example 5.23. upper


<?php
$smarty->assign(articleTitle, "If Strike isnt Settled Quickly it may Last a While.");
?>

   

模板:


{$articleTitle}
{$articleTitle|upper}

   

输出:


If Strike isnt Settled Quickly it may Last a While.
IF STRIKE ISNT SETTLED QUICKLY IT MAY LAST A WHILE.

   

参见 lowercapitalize.

bet亚洲官方网站|bet3365娱乐场手机版

XML 地图 | Sitemap 地图