we can use ``strpos()`` instead of ``substr()``