protoype for strstr