Can we use [b]switch[/b] operator for strings?
Yes, the operator switch can be used with string variables and any integers.
The sample program would be
string command;
..........................
switch(command)
{
case "Mean"
{
.........
break;
}
case "Max"
{
............
break;
}
}