Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

count in string php

echo substr_count("Hello world. The world is nice","world");

//result 2
Source by www.tutorialrepublic.com #
 
PREVIOUS NEXT
Tagged: #count #string #php
ADD COMMENT
Topic
Name
6+6 =