Hello.
You could use the ucfirst() function for most names:
http://nl2.php.net/manual/en/function.ucfirst.php
But that would make Mcdonald and not McDonalds
Regards,
Sander Poelwijk
Leonard Burton wrote:
HI All,
Does anyone use a library to properly capitalize last names?
For instance, McDonald needs to remain that way even if it comes in as
MACDONALD, or macdonald.
Of course I can write it on my own but would prefer not to reinvent
the wheel.
Thanks,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php