Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to check php string length

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

$string = ' ab cd ';
echo strlen($str); // 7
?>
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #check #php #string #length
ADD COMMENT
Topic
Name
5+2 =