mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
13 lines
322 B
Markdown
13 lines
322 B
Markdown
Modifier |upper
|
|
===============
|
|
|
|
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
|
|
``` |