note 10721 added to count_chars
| From: | steffen at pfendtner dot de | Date: | Thu, 18 Jan 2001 22:32:21 +0000 |
| Subject: | note 10721 added to count_chars | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9945@lists.php.net to get a copy of this message | ||
Get a strings lenght :
foreach (count_chars($my_string) as $my_value) $lenght=$lenght+$my_value;
print "$lenght";
http://www.php.net/manual/en/function.count-chars.php