Click here to Skip to main content
15,881,757 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
I have five conditions
1, 2, 3, 4, 5
I want to build Boolean filter logic with the above five conditions like

(1 AND 2) OR (3 AND 4) OR 5

I want to make above condition is in specific format with balanced parentheses, AND/OR operator and 1-5 numbers.

Please do the needful.
Posted
Comments
Nagarjuna Kaipu 4-Jan-16 1:29am    
Even if it is through code also, it will be helpful to me.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900