note 7194 deleted from function.ucwords by sniper
| From: | sniper@php.net | Date: | Tue, 14 Jan 2003 01:17:19 +0000 |
| Subject: | note 7194 deleted from function.ucwords by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-42091@lists.php.net to get a copy of this message | ||
There are actually many cases where this routine doesn't work well. Any text preceeded by ( ,
" or - ; even text like T.G.I. which once converted to lower case then using ucwords you still
end up with T.g.i. It would be nice if the routine would look at each word and ignore non-alphabetic
characters as part of the word. Any other solution would be welcome.