absl::Cord::Find

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;
» more...

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

CharIterator
Find(absl::Cord const& needle) const;
» more...

Return Value

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

Parameters

NameDescription
needleThe substring to search for.