strpos Find the position of the first occurrence of a substring in a string &reftitle.description; intstrpos stringhaystack mixedneedle intoffset0 Find the numeric position of the last occurrence of needle in the haystack string. &reftitle.parameters; haystack The string to search in. needle If needle is not a string, it is converted to an integer and applied as the ordinal value of a character. offset If specified, search will start this number of characters counted from the beginning of the string. Unlike strrpos and strripos, the offset cannot be negative. &reftitle.returnvalues; Returns the position of where the needle exists relative to the beginnning of the haystack string (independent of offset). Also note that string positions start at 0, and not 1. Returns &false; if the needle was not found. &return.falseproblem; &reftitle.examples; Using <literal>===</literal> ]]> Using !== ]]> Using an offset ]]> &reftitle.notes; ¬e.bin-safe; &reftitle.seealso; strrpos stripos strripos strrchr substr stristr strstr