Get stuck and the syntax looks ok


// Print out the position of a letter that is in
// your own name
strpos("Mike", "k");

// Check for a false value of a letter that is not
// in your own name and print out an error message
if (strpos("Catwoman","Batman") == false) {
print "Error, no 'Batman' was found in 'Catwoman'";


I just solved it. I forgot to put print.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.