Corion is right. This problem cannot be solved programmatically (not perfectly anyway). Names do not conform to any spelling rules and the affixes, capitals, and possible spacing also morph. Even in your "should print" examples you have chosen decidedly non-standard, but entirely possible, spellings. McEnroe is more likely to be right than Mc Enroe but you will also find Mcenroe, Macenroe, MacEnroe, and Mac Enroe exist in the wild.
In reply to Re: Capitalization Case Help!
by Your Mother
in thread Capitalization Case Help!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |