Answers for "character count in php string"

PHP
3

how to count string characters in php

<?php
$str1 = 'Hello world!';
echo strlen($str1); // Outputs: 12
Posted by: Guest on June-27-2021
0

counting a string in php

strlen('your strings here!');
Posted by: Guest on May-10-2021

Code answers related to "character count in php string"

Browse Popular Code Answers by Language