Implement text processor "if"