It seems that your code only needs lines that end with ABC, KBJ or CDE. So try the following:
(RIGHT({?test}, 3) = "ABC")
OR
(RIGHT({?test}, 3) = "KBJ")
OR
(RIGHT({?test}, 3) = "CDE")
It is also worth noting that IF yourConditionHere THEN 1 ELSE 0is redundant. Simplify it only yourConditionHereand it will return True or False.
source
share