std::basic_string::find_first_not_of
来自cppreference.com
< cpp | string | basic string
|
|
该页由英文版wiki使用Google Translate机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击这里. |
| size_type find_first_not_of( const basic_string& str, size_type pos = 0 ) const; |
(1) | |
| size_type find_first_not_of( const CharT* s, size_type pos, size_type count ) const; |
(2) | |
| size_type find_first_not_of( const CharT* s, size_type pos = 0 ) const; |
(3) | |
| size_type find_first_not_of( CharT ch, size_type pos = 0 ) const; |
(4) | |
找到的第一个字符等于没有给定的字符序列中的字符。开始搜索
1) pos,即找到一个字符不能在之前的位置pos.原文:
Finds the first character equal to none of the characters in the given character sequence. Search begins at
pos, i.e. the found character must not be in position preceding pos.找到的第一个字符等于没有的字符
2) str. 原文:
Finds the first character equal to none of characters in
str. 查找等于没有第一
3) count所指向s的字符串的字符中的字符的第一个字符。 s可以包含空字符.原文:
Finds the first character equal to none of characters in the first
count characters of the character string pointed to by s. s can include null characters.找到的第一个字符等于没有的字符在字符串所指向的
4) s。第一个空字符的字符串的长度是由.原文:
Finds the first character equal to none of characters in character string pointed to by
s. The length of the string is determined by the first null character.找到的第一个字符不等于
ch.原文:
Finds the first character not equal to
ch.目录 |
[编辑] 参数
| str | - | 识别字符进行搜索的字符串
原文: string identifying characters to search for |
| count | - | 字符识别字符进行搜索的字符串的长度
原文: length of character string identifying characters to search for |
| s | - | 字符识别字符进行搜索的字符串的指针
原文: pointer to a character string identifying characters to search for |
| ch | - | 字符识别字符进行搜索
原文: character identifying characters to search for |
[编辑] 返回值
[编辑] 例外
1,4)[编辑] 注释
这些函数使用traits::eq()测试字符的平等的.....
原文:
These functions use traits::eq() to test the characters for equality.
[编辑] 示例
| 本章尚未完成 原因:暂无示例 |
[编辑] 另请参阅
| 找到字符串中的字符 (公共成员函数) | |
| 找到一个子字符串最后一次出现的 原文: find the last occurrence of a substring (公共成员函数) | |
| 第一次出现的字符 (公共成员函数) | |
| 最后一次出现的字符 (公共成员函数) | |
| 找到最后没有的字符 (公共成员函数) | |