Tools, FAQ, Tutorials:
Counting the Number of Characters in PHP
How To Count the Number of Characters in a String?
✍: FYIcenter.com
You can use the "strlen()" function to count 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
⇒ Ways to Remove Leading and Trailing White Spaces in PHP
⇐ PHP Built-in Functions for Strings
2016-10-13, ∼3236🔥, 0💬
Popular Posts:
How to make application release build with Visual Studio 2017? If you want to make a final release b...
Tools, FAQ, Tutorials: JSON Validator JSON-XML Converter XML-JSON Converter JSON FAQ/Tutorials Pytho...
What is the Azure AD v1.0 OpenID Metadata Document? Azure AD v1.0 OpenID Metadata Document is an onl...
What is test testing area for? The testing area is provided to allow visitors to post testing commen...
Where to find tutorials on OpenID? Here is a large collection of tutorials to answer many frequently...