<? $string = "This is a strpos( ) test"; $pos = strpos($string, "i", 3); if ($pos = == false) { print "Not found\n"; } else { print "Found at $pos!\n"; } ?>