Write a PHP program to find the length of the string
Description:
Write a PHP program to find the length of the string.
Instructions:
- You have to use one variable.
- You must use a built-in PHP String Function.
View Solution/Program:
<?php
$str = "Tutorials Class";
echo strlen($str);
?>
Tutorials Class - Output Window
15
Learn more about the similar topics:
Tutorials |
---|
PHP String Handling |
Interview Questions & Answers |
---|
No Content Found. |