Files
smarty/docs/designers/language-modifiers/language-modifier-lower.md
Simon Wisselink 428a701b18 Feature/add docs (#689)
* 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
2021-12-03 11:59:22 +01:00

34 lines
556 B
Markdown

lower {#language.modifier.lower}
=====
This is used to lowercase a variable. This is equivalent to the PHP
[`strtolower()`](&url.php-manual;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`](#language.modifier.upper) and
[`capitalize`](#language.modifier.capitalize).