Boolean to string
| From: | Jean-Marc Fontaine | Date: | Sun, 21 Mar 2004 11:45:57 +0000 |
| Subject: | Boolean to string | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-11152@lists.php.net to get a copy of this message | ||
Hi,
I am wondering if there is a way in Smarty to convert a boolean value to its string representation (ie 'True' or 'False').
The 'replace' variable modifier only allows to replace on value.
Regards.
Jean-Marc