I’m trying to check if a string starts with http
. How can I do this check?
$string1 = 'google.com';
$string2 = 'http://www.google.com';
I’m trying to check if a string starts with http
. How can I do this check?
$string1 = 'google.com';
$string2 = 'http://www.google.com';