-
strstr
strstr(str1,str2) 函数用于判断字符串str2是否是str1的子串。如果是,则该函数返回str2在str1中首次出现的地址;否则,返回NULL。
包含文件:
string.h
函数名: strstr
函数原型:
1
|
|