fenom/docs/en/mods/upper.md
2014-08-02 00:24:14 +04:00

14 lines
324 B
Markdown

Modifier upper
==============
Modifier is used to uppercase a variable or string. Has short alias `up`.
This is equivalent to the PHP [strtoupper()](http://docs.php.net/strtoupper) function.
```smarty
{var $name = "Bzick"}
{$name} outputs Bzick
{$name|upper} outputs BZICK
{$name|up} outputs BZICK too
```