Re: Name Capitalization

From: Date: Mon, 19 Mar 2007 16:30:54 +0000
Subject: Re: Name Capitalization
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-250819@lists.php.net to get a copy of this message
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,


« previous php.general (#250819) next »