Re: Testing a String for 'most' Capitalised
| From: | Greg Donald | Date: | Mon, 10 Oct 2005 14:17:39 +0000 |
| Subject: | Re: Testing a String for 'most' Capitalised | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-223819@lists.php.net to get a copy of this message | ||
On 10/10/05, Jochem Maas <jochem@iamjochem.com> wrote:
> cute - but it doesn't always work e.g.:
>
> $a = array( "FrEDDie", "fREDdIE", "FReddie" );
> sort( $a );
> echo $a[ 0 ]; // we want the 2nd item from the unsort array
Works for the sample data you first posted. *shrug*
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/