Re: Name Capitalization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux