Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php string length

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

$str = 's p a c e';
echo strlen($str); // 9
?>
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #string #length
ADD COMMENT
Topic
Name
2+7 =