Find overloads

Synopses

Declared in <absl/strings/cord.h>

Returns an iterator to the first occurrence of the substring needle.

CharIterator
Find(std::string_view needle) const;

Returns an iterator to the first occurrence of the Cord needle.

CharIterator
Find(absl::Cord const& needle) const;

Return Value

An iterator to the first occurrence, or char_end() if not found.

Parameters

Name

Description

needle

The substring to search for.

Created with MrDocs