Re: counting chars..
| From: | Jake Press | Date: | Thu, 16 Dec 2004 07:01:46 +0000 |
| Subject: | Re: counting chars.. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-204477@lists.php.net to get a copy of this message | ||
Hi Louie,
Excellent example! i wish more users would take the time to provide such clear examples.
The strlen() exists for you :)
ie.
<?php
$string = "function yes good";
$display = strlen($string);
echo $display;
?>
:)
Best Regards
Jake Press
Louie Miranda wrote:
<?php $string = "function yes good"; $display = count_chars($string); echo $display; ?> i know this is wrong, but how can i count chars used here?