Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php string length


<?php
$str = 'abcdef';
echo strlen($str); // 6

$str = ' ab cd ';
echo strlen($str); // 7
?>

Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #string #length
ADD COMMENT
Topic
Name
7+1 =