User:Blastedt/ParserFunctions/ExSwitch2

This switch is slightly more complex. It leaves out the, and just uses. This means that the input is case sensitive. First, the letters of the alphabet are written out in lowercase. At z, an equal sign is placed, and any lowercase letter now returns whatever is after the z (lowercase! in this example). The same is done with uppercase, except it returns UPPERCASE! A default is also put in. If it is not a single letter, it returns "That is not a letter, you fool." Note the lack of an equals sign. If an equals sign is needed in the default form of a switch, use    returns.

Syntax: