Is there a switch case extension instead of numerous if/then/else?

A post was split to a new topic: Switch Case Extension