strstrSearches for the occurrence of a specified partial character string | |||||
Arguments
Return ValueA pointer to the position of the located string pointed to by s2 within the string pointed to by s1 is returned. NULL is returned if the string pointed to by s2 is not contained within the string pointed to by s1.ExplanationThe first occurrence of the string pointed to by s2 is located within the string pointed to by s1. A pointer to the position of s2 within the string pointed to by s1 is returned. |