Split ternary operators similarly to binary operators