Answers for "string count in php"

PHP
0

counting a string in php

strlen('your strings here!');
Posted by: Guest on May-10-2021
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

Browse Popular Code Answers by Language