Answers for "regular expression to check if a string starts with a letter laravel"

PHP
4

php string starts with

//php check if first four characters of a string = http
substr( $http, 0, 4 ) === "http";
//php check if first five characters of a string = https
substr( $https, 0, 5 ) === "https";
Posted by: Guest on September-01-2020

Code answers related to "regular expression to check if a string starts with a letter laravel"

Browse Popular Code Answers by Language