Hi,

switch(name) //Where name is a String
{
Code block
}

I am trying to use a String switch statement like the one just above. I am getting the following error:

Error: Cannot switch on a...