generate functionMon, 26 Dec 2022

check if string in string using mb_strpos

<?php function string_in_string($str, $str_in) { return mb_strpos($str, $str_in) !== false; } ?>

Want to kickstart your project?Use the new AI Studio to create your code