Capitialisation
| From: | Liam MacKenzie | Date: | Wed, 11 Sep 2002 01:49:40 +0000 |
| Subject: | Capitialisation | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-115920@lists.php.net to get a copy of this message | ||
G'day all...
$variable = "joe blow";
How can I automatically make $variable = "Joe Blow";
The value's obviously dynamic, so I need to capitalise each letter of each
word in the var.
Any ideas?
For those of you who read my previous post, you may have worked out what I'm
doing ;-)
Cheers,
Liam