Upper

upper — This is used to uppercase a variable. This is equivalent to the PHP strtoupper() function.

Basic Usage:
{$articleTitle|upper}
<?php
$tplix->assign('articleTitle', 'If Strike isn't Settled Quickly it may Last a While.');

These are example unescape template lines followed by the output

{$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.
Was this article helpful?