On Wed, 2 Mar 2011 13:37:57 -, "Andrew Thomas"
wrote:
>exten => start,n,While($["${MYVAR}" != "Some string"])
Thanks Andrew.
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join u
un...@lists.digium.com] On Behalf Of Gilles
Sent: 02 March 2011 13:25
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] [1.4] Comparing value of string with spaces?
Hello
I haven't found an example on how to compare the value of a
string variable with spaces in
Hello
I haven't found an example on how to compare the value of a string
variable with spaces in it, and the While loop below never exits:
== extensions.conf
exten => start,n,Set(MYVAR="Dummy value")
exten => start,n,NoOp(${MYVAR})
;BAD TOO
;exten => start,n,While(!$[${MYVAR} :