How to insert brackets between text
Hellow, I have problem like this. I have SQL query where with button press need to add brackets.
Sample of SQL: SELECT something FROM sometable WHERE item1 OR item2 XOR item3 AND item4
Whan I press the botton it's adds brackets that SQL is right.
Like this: SELECT something FROM sometable WHERE (((item1 OR item2) XOR item3) AND item4)
Please help me.