Check if String Starts with Substring using PHP April 8, 2021 PHP 0 Comments 311 Views str_starts_with function <?php $text = 'Hello world'; $result = str_starts_with($text, 'Hello'); echo $result ? 'Yes' : 'No';
Leave a Comment
Cancel reply