What about DeSilva And McSomething?

Justin


on 28/02/03 10:11 PM, Danny Shepherd ([EMAIL PROTECTED]) wrote:

> Hi,
> 
> Well it's hardly rocket science - a flick through the manual and I came up
> with :
> 
> $name=ucwords(strtolower($name));
> 
> HTH
> 
> Danny.
> 
> ----- Original Message -----
> From: "Geoff Caplan" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, February 28, 2003 10:31 AM
> Subject: [PHP] Capitalising Personal Names
> 
> 
>> Hi folks,
>> 
>> I need to clean up the capitalisation of user-entered personal names.
>> 
>> Once you start thinking about it, you realise it is a non-trivial
>> issue, but previous discussions on the list presented only very
>> partial solutions.
>> 
>> In Perl, there are Cpan modules such as namecase and nameparse which
>> handle this quite well. Does anyone have anything similar in PHP?
>> 
>> Thanks
>> --
>> 
>> Geoff Caplan
>> Advantae Ltd
>> 
>> 
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>> 
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to