Re: Capitalization of variable
| From: | Nathan Nobbe | Date: | Thu, 19 Jun 2008 04:34:28 +0000 |
| Subject: | Re: Capitalization of variable | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-275562@lists.php.net to get a copy of this message | ||
On Wed, Jun 18, 2008 at 10:03 PM, Ron Piggott <ron.php@actsministries.org>
wrote:
>
> How would I do this for a street address?
>
> If the user gave me their address as "12 george street" I would like the
> results to be 12 George Street.
ucwords(). had you gone to the manual, for ucfirst() from the first reply
to your question, youd have seen a link to it as a related function.
-nathan