Re: Caps or No caps
| From: | Richard Davey | Date: | Sun, 11 Jan 2004 17:28:56 +0000 |
| Subject: | Re: Caps or No caps | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-174249@lists.php.net to get a copy of this message | ||
Hello Frank,
Sunday, January 11, 2004, 2:51:55 PM, you wrote:
FK> When you have output in the database like this: "HeLlo WorlD"
FK> then you convert it to all caps "HELLO WORLD" or just the first
FK> character that is only caps "Hello world".
All uppercase = strtoupper()
First letters capped = ucfirst() and ucwords()
Download the PHP manual and keep a local copy of it, then search it
for "uppercase" and you'll find what you need.
--
Best regards,
Richard mailto:rich@launchcode.co.uk