How to get 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:

Read Online PHP Developer Job Interview Questions And Answers