Answers

Question and Answer:

  Home  PHP Developer

⟩ How to get number of characters in a String?

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

 146 views

More Questions for you: