Count Characters in a String - 0 views
-
neetu_juneja on 06 Nov 14To do this, I ve usually just used the function strlen(). However, there is a faster method. Take a look at the following code example: <?php $string = testing ; if(isset($string[6])) echo The string $string is at least 7 characters long.