Skip to content
Umakant Patil edited this page Aug 14, 2017 · 1 revision

Used to uppercase a variable. This is equivalent to the PHP strtoupper() function.

Template:

{$articleTitle = 'If Strike isn\'t Settled Quickly it may Last a While.'}

{$articleTitle}
{$articleTitle|upper}

output:

If Strike isn't Settled Quickly it may Last a While.
IF STRIKE ISN'T SETTLED QUICKLY IT MAY LAST A WHILE.

see also upper in PHP Smarty documentation.

Clone this wiki locally