Re: Capitalising Personal Names

From: Date: Fri, 28 Feb 2003 11:44:08 +0000
Subject: Re: Capitalising Personal Names
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-137548@lists.php.net to get a copy of this message
Have a javascript alert like "Are you 100% sure you haven't typed your name wrong :)" Other option is to create name dictionary then compare.. ----- Original Message ----- From: "Joshua Moore-Oliva" <josh@chatgris.com> To: <php-general@lists.php.net> Sent: Friday, February 28, 2003 11:35 AM Subject: Re: [PHP] Capitalising Personal Names > What is someone spells their name Desilva? > > On February 28, 2003 06:21 am, Justin French wrote: > > What about DeSilva And McSomething? > > > > Justin > > > > on 28/02/03 10:11 PM, Danny Shepherd (danny@kyboshed.com) 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" <geoff@advantae.com> > > > To: <php-general@lists.php.net> > > > 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¦ > > >> @G<39 ²kýê8� > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#137548) next »