The sample code to use switch statemente over a string