Re: Testing a String for 'most' Capitalised
| From: | Mark Rees | Date: | Mon, 10 Oct 2005 13:28:28 +0000 |
| Subject: | Re: Testing a String for 'most' Capitalised | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-223816@lists.php.net to get a copy of this message | ||
> > Image that there could be a string
> > fred
> > Fred
> > FRED
It isn't hard to do.
> > First of all I need to know that these are same which I can do with
> > strtolower
Also note strcasecmp for this task -
http://uk2.php.net/manual/en/function.strcasecmp.php