is there a function in php that will return true if a certain string is in a variable?

for example:

if (instr($lookhere, "for this text")) {
echo "/"for this text/" is in /$lookhere";
}

If there is not a function like this, how would i accomplish the same task.

Thanks in advance for any help on this matter.

    Write a Reply...