Friday, July 13, 2012

PHP: get string length

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


Resource:
http://php.net/manual/es/function.strlen.php

No comments: