In my code, the program does something depending on the text entered by the user. My code looks like:
switch (name) { case text1: { //bla
Just do
case text1: case text4: do stuff; break;