I was trying today to compare two long strings. I thought I could easily do so using the "If" action, however not so: Both "Match" and "Equals" returned false even though the variables contained exactly the same string.
I was eventually able to compare these strings using javascript action that performs the comparison and sets a new global variable with the result. It seems to me, however, that such basic action should be done in an easier way.
Content of the variables that I was trying to compare is available in the following URL:
http://pastebin.com/mRmMKMuTThe javascript that I used to actually compare the variables:
var a = global('Forcar');
var b = global('Forcar2');
if(a == b)
{
setGlobal('JsEq','true');
}
else
{
setGlobal('JsEq','false');
}
Thanks!
Vitaly