Tutorials References Exercises Videos Menu
Free Website Get Certified Upgrade

Template Filter - upper


Example

Display firstname with all upper case letters:

<h1>{{ firstname|upper }}</h1>
Run Example »

Definition and Usage

The upper filter returns the value in all upper case letters.

See also the lower filter.


Syntax

Template filters are defined by using a pipe | character followed by the name of the filter.

{{ value|upper }}