The substr_count() function used for count the number of substring occurrences.
echo substr_count("Hello dear. How are you","dear");
Coderraj is the global online platform and circle for programmers to learn, communicate, share their knowledge and growth their careers.
Copyright ©2022 coderraj.com. All Rights Reserved.