How to use strspn in PHP
In this article I will explain how strspn function used in PHP.
This function returns the number of characters in the string that have only characters from the char list.
echo strspn("Hllo Prem!","sHlleo");
You may also want to read these related articles Click here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here