jika ada dalam jumlah string php

<?php
echo substr_count("Hello world. The world is nice","world");
//Output: 2
?>
artharus