<?php $str1 = 'Hello world!'; echo strlen($str1); // Outputs: 12
strlen('your strings here!');
echo substr_count("Hello world. The world is nice","world"); //result 2