Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

count in string php

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

//result 2
 
PREVIOUS NEXT
Tagged: #count #string #php
ADD COMMENT
Topic
Name
3+2 =