Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Get PHP String Length

phpCopy<?php
$mystring = "This is my string";
echo("The string length in bytes is: ");
echo(mb_strlen($mystring));
?>
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #Get #PHP #String #Length
ADD COMMENT
Topic
Name
9+3 =