high % of capital letters in a string
| From: | Justin French | Date: | Fri, 07 Jun 2002 03:20:31 +0000 |
| Subject: | high % of capital letters in a string | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-101071@lists.php.net to get a copy of this message | ||
Hi,
How would I determine if there was a high % (say > 40%) of capital letters
in a string? I'm trying to think of a way of preventing endless use of
capital letters in a message board, to stop YELLERS.
Justin French
--------------------
Creative Director
http://Indent.com.au
--------------------