if operators suggestions
| From: | Bertrand DUNOGIER | Date: | Thu, 11 Apr 2002 14:25:49 +0000 |
| Subject: | if operators suggestions | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-3623@lists.php.net to get a copy of this message | ||
Hi,
I think that if operators to test string values would be nice:
by instance
{if $var contains $string}
or
{if $var matches $pattern}
what about it ?
--
Best regards,
Bertrand mailto:bdunogier@wanadoo.fr