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

Used to lowercase a variable. This is equivalent to the PHP strtolower() function.

Template:

{$articleTitle = 'Two Convicts Evade Noose, Jury Hung.'}

{$articleTitle}
{$articleTitle|lower}

output:

Two Convicts Evade Noose, Jury Hung.
two convicts evade noose, jury hung.

see also lower in PHP Smarty documentation.

Clone this wiki locally