[asterisk-users] Check if variable contains strings

Jonas Kellens jonas.kellens at telenet.be
Thu Jun 17 08:37:15 CDT 2010


Hello.

Can I check if a variable contains some string ??

suppose Set(var=foobar)

can I check if ${var} contains "foo" ??

Like the php-function strstr.


Jonas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100617/758fee7e/attachment.htm 


More information about the asterisk-users mailing list