Re: [SMARTY] if operators suggestions

From: Date: Thu, 11 Apr 2002 16:17:31 +0000
Subject: Re: [SMARTY] if operators suggestions
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3627@lists.php.net to get a copy of this message
On Thu, 11 Apr 2002, Bertrand DUNOGIER wrote: > 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 ? It's a nice idea, but how would you control such aspects as case-sensitive or -insensitive matching? -Andrei * All of the above is my opinion, unless specified otherwise. *

« previous php.smarty.general (#3627) next »