check this

http://www.cplusplus.com/reference/c...string/strstr/