BTW, your solution doesn't preserve the order of the tests, so words like "darkwhite" might return a different result than in the OP.
In reply to Re^2: Improving if statements
by choroba
in thread Improving if statements
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |