Instantiated member variants
find
Template: std::char_traits<T>
Specializations:
charwchar_tchar8_tchar16_tchar32_t
Min standard notice:
Searches for character ch within the first count characters of the sequence pointed to by ptr.
# Declarations
static const char_type*
find( const char_type* ptr, std::size_t count, const char_type& ch );
(constexpr since C++17)
# Parameters
ptr: pointer to a character string to searchcount: the number of characters to analyzech: the character to search for
# Return value
A pointer to the first character in the range specified by [ptr,ptr + count) that compares equal to ch, or a null pointer if not found.