Use wildcard in equal expression

Status
Not open for further replies.

Thomas Six

Platinum Partner
Advanced Certified
Joined
May 31, 2017
Messages
129
Reaction score
44
I've used a condition in the call flow designer to route the call to a specific condition if a variable is 50, 51,52,..,58 or 59. I can use 10 OR's but I want to make 1 equal condition with a wildcard. How can that be done?
I've tried this: EQUAL(callflow$.zone_nummer,"5[0-9]"). But thats not working.
 
EQUAL(LEFT(callflow$.zone, 1), "5")
 
  • Like
Reactions: edossantos
If you also need to check that the value has only 2 digits:
AND(EQUAL(LEN(callflow$.zone_nummer),2),EQUAL(LEFT(callflow$.zone_nummer, 1), "5"))
 
  • Like
Reactions: Evolute IT
Thanks both for the help. It works
 
  • Like
Reactions: edossantos
Status
Not open for further replies.