Bug #16118 Updated: Request for new feature: textlen() or textlength()
| From: | jimw@php.net | Date: | Mon, 29 Apr 2002 00:21:11 +0000 |
| Subject: | Bug #16118 Updated: Request for new feature: textlen() or textlength() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-6396@lists.php.net to get a copy of this message | ||
ID: 16118
Updated by: jimw@php.net
Reported By: joho@webbplatsen.se
-Status: Open
+Status: Closed
Bug Type: Feature/Change Request
Operating System: All
PHP Version: 4.1.2
New Comment:
strlen(strip_tags($string))
Previous Comments:
------------------------------------------------------------------------
[2002-03-16 16:55:30] joho@webbplatsen.se
It would be nice with a companion to strlen() that basically first did
a strip_tags (all tags) and then a strlen().
Yes, I know I can write this function myself, but the same could be
said for many function included in the "core" PHP library.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16118&edit=1