std::char_traits::find
From cppreference.com
< cpp | string | char traits
const CharT* find( const CharT* p, std::size_t count, CharT a );
|
||
Searches for character a
within the first count
characters within character string pointed to by p
.
Contents |
[edit] Parameters
p | - | pointer to a character string to search |
count | - | the number of characters to analyze |
a | - | the character to search for |
[edit] Return value
A pointer to the first character of value a
withing the given character string.
[edit] Exceptions
(none)
[edit] Complexity
Linear.