wcsstr
来自cppreference.com
|
|
该页由英文版wiki使用Google Translate机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击这里. |
| 在头文件 <wchar.h> 中定义
|
||
| const wchar_t* wcsstr( const wchar_t* dest, const wchar_t* src ); |
||
| wchar_t* wcsstr( wchar_t* dest, const wchar_t* src ); |
||
发现宽字符串中第一次出现的宽字符串
src指出,dest. 原文:
Finds the first occurrence of the wide string
src in the wide string pointed to by dest. 目录 |
[编辑] 参数
| dest | - | 检查null结尾的宽字符串的指针指向
原文: pointer to the null-terminated wide string to examine |
| src | - | 以NULL结尾的宽要搜索的字符串指针
原文: pointer to the null-terminated wide string to search for |
[编辑] 返回值
dest,或NULL中找到的子串的第一个字符的指针,如果没有这样的子被发现。如果src指向一个空字符串,dest返回.原文:
Pointer to the first character of the found substring in
dest, or NULL if no such substring is found. If src points to an empty string, dest is returned.[编辑] 示例
| 本章尚未完成 原因:暂无示例 |
[编辑] 另请参阅
| 发现一个宽字符在宽字符串中首次出现的 原文: finds the first occurrence of a wide character in a wide string (函数) | |
| 发现一个宽字符在宽字符串中最后一次出现 原文: finds the last occurrence of a wide character in a wide string (函数) | |
| C++ documentation for wcsstr
| |