RE: [PHP-DEV] PHP 4.0 Bug #8328: ucwords and ucfirst misbehaving with quotes
| From: | Sam Liddicott | Date: | Wed, 20 Dec 2000 11:27:23 +0000 |
| Subject: | RE: [PHP-DEV] PHP 4.0 Bug #8328: ucwords and ucfirst misbehaving with quotes | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-41912@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: vitaliyf@gameaholic.com [mailto:vitaliyf@gameaholic.com]
> Sent: Wednesday, December 20, 2000 06:03
> To: php-dev@lists.php.net
> Subject: [PHP-DEV] PHP 4.0 Bug #8328: ucwords and ucfirst misbehaving
> with quotes
>
> I think that any non-alphanumeric character that is in the
> beginning of a word (meaning follows a whitespace) should not
> be considered as "first".
Basically you are saying the first alphanumeric character occuring sometime
after every sequence of whitespace should be uppercased.
This sounds sensible to me.
Sam