How to find number of characters in a string in PHP?

Posted by Prem Tiwari | Updated on

In this example you will learn, how to find number of characters in a string in PHP. You can simply use the PHP strlen() function to find the number of characters in a string of text. It also includes the white spaces inside the specified string.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers