<?php
$findme = 'a';
$mystring2 = 'ABC';
$pos1 = stripos($mystring2, $findme);
if ($pos1 === false) {
echo "string is not matched";
}
else
{echo ‘ match found’;}
?>
a) String not matched
b) Match found
c) All of the above
d) None of the above
ANS : b (note stripos)
Post new comment