String color = 'blue'; if (color == 'blue') { }else if (color == 'green') { }else{ } //One liner if (color == 'red') prin('hello red!');