Add boolean operators to strings