Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to count string characters in php

<?php
$str1 = 'Hello world!';
echo strlen($str1); // Outputs: 12
Source by www.tutorialrepublic.com #
 
PREVIOUS NEXT
Tagged: #count #string #characters #php
ADD COMMENT
Topic
Name
2+4 =