Php part 1 3 string functions plse help


#1



<?php
strpos("Adrianna" , "a");
strpos("Adrianna" ,"r");
strpos("Adrianna" ,"anna");
strpos("Adrianna" ,"pcy");

?>
</p>
<p>
<?php
if(strpos("Adrianna", "g") ==false) {
print"Sorry, no 'g' in 'Adrianna'";
}
?>
</p>


#2

Use print or echo to print out the position of a letter that is in your name
example:

print strpos("Adrianna" , "a");

and so on....


#3

Okay thank you it worked! :slightly_smiling: