Thanks for your reply Tommy, but the main problem I am going to have is with the names like O'Donnell McGuyver etc where the name contains more than one upper case character.
Even worse is something  like "Herman Van der Staey".  In that case the 
last name is 3 words, and one of them isn't capitalized, but the others 
are.  I can't think of an algorithm that would understand how to properly 
capitalize all names.
The truth is, names don't follow a set pattern for capitalization. You 
have to deall with them on a case-by-case basis.  So you'd almost need a 
database of every possible name and how it's capitalized....  or at least 
a database of the ones that don't follow the rule of "first letter of 
every word."   This wouldn't be a minor undertaking.
I suggest looking for a commercial package unless a "close enough" routine 
is acceptable.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact copyright@midrange.com.

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.