note 49335 deleted from function.ucwords by derick
| From: | derick@php.net | Date: | Tue, 30 Aug 2005 11:04:44 +0000 |
| Subject: | note 49335 deleted from function.ucwords by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-94386@lists.php.net to get a copy of this message | ||
Note Submitter: theonly dot mcseven at gmx dot net
----
Unfortunately, this function will not convert uppercased strings (sat here a few hours before
realising that). So before ucwords-ing a string, make sure to lowercase it first:
$my_true_ucwords_string = ucwords(strtolower($my_test_string));