TPLix

No results for ""

Upper

1 min read Jun 2, 2026
--- title: upper autoseo: enabled: true theme: learn2 child_type: default admin: children_display_order: collection visible: true ---

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.

Leave a Comment

Not published. Used to notify you on approval.

Comments are moderated before appearing.