首页 > 其他分享 >字符串处理函数 相关函数: strstr

字符串处理函数 相关函数: strstr

时间:2022-12-24 18:22:21浏览次数:40  
标签:const 函数 char 字符串 strstr 处理函数

相关函数: strstr

头文件  : #include <string.h>

函数原型: char *strstr(const char *haystack,  const char *needle);

函数说明: 在字符串haystack中查找字符串needle

返回值  : 返回指定字符串第一次出现的地址,否则返回NULL

标签:const,函数,char,字符串,strstr,处理函数
From: https://www.cnblogs.com/cnetsa/p/17003163.html

相关文章