fenom/docs/mods/upper.md

13 lines
322 B
Markdown
Raw Normal View History

2013-02-08 14:23:10 +04:00
Modifier |upper
===============
2013-02-09 10:59:08 +04:00
Modifier is used to uppercase a variable or string. Have short alias `up`
This is equivalent to the PHP [strtoupper()](http://docs.php.net/strtoupper) function.
```smarty
{var $name = "Bzick"}
{$name} output Bzick
{$name|upper} output BZICK
{$name|up} output BZICK too
```