Answers for "Which of the following function returns the number of characters in a string variable?"

PHP
12

php string length

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

$str = 's p a c e';
echo strlen($str); // 9
?>
Posted by: Guest on July-09-2020

Code answers related to "Which of the following function returns the number of characters in a string variable?"

Browse Popular Code Answers by Language