Re: User contributed note correction

From: Date: Fri, 23 Nov 2001 08:37:01 +0000
Subject: Re: User contributed note correction
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-7510@lists.php.net to get a copy of this message
Hi, You wrote: > Please confirm if someone updated this note for your already. > I can't see much difference between the code there now, and > this one you have sent. So maybe someone other corrected > this, but didn't posted the message to our mailing list. I confirm that the note has not been changed yet. There's only a few bytes difference between the old one and the new one, but the old one has a bug that causes it not to work at all. Would you please replace it with the note below? <NOTE> Note that if you are using this function to embellish the display of Dutch or Spanish text, ucfirst will not recognise your "ij"s (Dutch) or "ll"s (Spanish), which in their respective languages need to be capitalised both when they go on the beginning of a word. Use function ucfirst_beter($streng) { return $streng=(substr(strtolower($streng),0,2)=="ij")?(strtoupper(substr($streng,0,2)).substr($streng,2,strlen(($streng)-2))):(ucfirst($streng)); } for Dutch text, or function ucfirst_mejor($cuerda) { return $cuerda=(substr(strtolower($cuerda),0,2)=="ll")?(strtoupper(substr($cuerda,0,2)).substr($cuerda,2,strlen(($cuerda)-2))):(ucfirst($cuerda)); } for Spanish text cheers, Bert a.k.a. Alberto </NOTE>

« previous php.mirrors (#7510) next »