TPLix

No results for ""

Lower

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

{lower} — This is used to lowercase a variable. This is equivalent to the PHP strtolower() function.

PHP Syntax:

<?php
strtolower($value)
Assign in your PHP app:

<?php
$tplix->assign('name', "Hello World!");

Where template is:


{$name}
{$name|lower}

The above example will output:


Hello World!
hello world!

Leave a Comment

Not published. Used to notify you on approval.

Comments are moderated before appearing.