mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-02 13:21:36 +01:00
* Add converted docs repo * Set theme jekyll-theme-minimal * Removed BC docs, added TOC * Added TOCs, rewrote most important links in documentation. Linked README to new Github Pages site * some link fixes
556 B
556 B
lower
This is used to lowercase a variable. This is equivalent to the PHP
strtolower() function.
<?php
$smarty->assign('articleTitle', 'Two Convicts Evade Noose, Jury Hung.');
?>
Where template is:
{$articleTitle}
{$articleTitle|lower}
This will output:
Two Convicts Evade Noose, Jury Hung.
two convicts evade noose, jury hung.
See also upper and
capitalize.