Update upper.md
This commit is contained in:
parent
05e501a096
commit
eb5ba94ff9
|
@ -1,7 +1,7 @@
|
||||||
Modifier upper
|
Modifier upper
|
||||||
==============
|
==============
|
||||||
|
|
||||||
Modifier is used to uppercase a variable or string. Have short alias `up`.
|
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.
|
This is equivalent to the PHP [strtoupper()](http://docs.php.net/strtoupper) function.
|
||||||
|
|
||||||
```smarty
|
```smarty
|
||||||
|
@ -10,4 +10,4 @@ This is equivalent to the PHP [strtoupper()](http://docs.php.net/strtoupper) fun
|
||||||
{$name} outputs Bzick
|
{$name} outputs Bzick
|
||||||
{$name|upper} outputs BZICK
|
{$name|upper} outputs BZICK
|
||||||
{$name|up} outputs BZICK too
|
{$name|up} outputs BZICK too
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue