Description
int strpos ( string haystack, string needle [, int offset])
Returns the numeric position of the first occurrence of needle in the haystack string. Unlike the strrpos(), this function can take a full string as the needle parameter and the entire string will be used.
==============
Я не понял, какие проблемы?
Или зная начало ты не можешь вычислить место конца? =)