Re: ucwords Except 'The' 'And' etc?
| From: | Richard Baskett | Date: | Mon, 13 Aug 2001 16:17:40 +0000 |
| Subject: | Re: ucwords Except 'The' 'And' etc? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-62461@lists.php.net to get a copy of this message | ||
http://www.php.net/manual/en/function.ucwords.php
You can read all about the limit of this function, but this is the closest
thing to what you're looking for.
Rick
> Is there a prewritten function for capitalizing the first letter of each
> word in a string except for the common words you wouldn't want
> to capitalize in a title? Like
>
> Come Learn the Facts From an Industry Leader
>
> Thanks.
> Jeff Oien