PHP get string length 

Joined:
03/10/2011
Posts:
84

April 10, 2011 14:36:44    Last update: April 10, 2011 14:37:03
The C-like function strlen gives the length of a string.
<?php
// 10
echo strlen('hfskdflgsd');

// 1
echo count('hfskdflgsd');
?>
Share |
| Comment  | Tags