Answers

Question and Answer:

  Home  PHP

⟩ How To Get the 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

 179 views

More Questions for you: