How To Get the Number of Characters in a String?

Submitted by: Administrator
You can use the "strlen()" function to get the number of characters in a string. Here is a PHP script example of strlen():

<?php
print(strlen('It's Friday!'));
?>

This script will print:

12

Submitted by: Administrator

Read Online PHP Job Interview Questions And Answers