Re: counting chars..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?




-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux