On Thu, Jun 17, 2010 at 03:37:15PM +0200, Jonas Kellens wrote:
> Hello.
>
> Can I check if a variable contains some string ??
>
> suppose Set(var=foobar)
>
> can I check if ${var} contains "foo" ??

core show function REGEX. Should work well as long as the string to
match has no special characters of its own.

-- 
               Tzafrir Cohen
icq#16849755              jabber:[email protected]
+972-50-7952406           mailto:[email protected]
http://www.xorcom.com  iax:[email protected]/tzafrir

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to