macro condition

Mahmoud Saghir asked on September 11, 2017 13:21

Hello,

How can I test if a variable has a specific arabic value using macro condition.

I used :

if(variable == "عربي") { ... }

but it didn't work.

Correct Answer

Trevor Fayas answered on September 11, 2017 13:58

try displaying the value on a page then viewing the html source, it's possible the value is html encoded and you will need to match on that.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Mahmoud Saghir answered on September 11, 2017 14:02

Yes it works. Thanks for the answer .

0 votesVote for this answer Mark as a Correct answer

Trevor Fayas answered on September 11, 2017 15:22

Make sure to mark questions as answered if it worked so others can know and also so they don't look to answer something already answered. Thanks Mahmoud!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.