[#absl-Cord-Find-06]
= xref:absl.adoc[absl]::xref:absl/Cord.adoc[Cord]::Find
:relfileprefix: ../../
:mrdocs:

Returns an iterator to the first occurrence of the substring `needle`&period;

== Synopsis

Declared in `&lt;absl&sol;strings&sol;cord&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/Cord/CharIterator.adoc[CharIterator]
Find(std::string&lowbar;view needle) const;
----

== Description

If the substring `needle` does not occur, `Cord&colon;&colon;char&lowbar;end()` is returned&period;

== Return Value

An iterator to the first occurrence, or `char&lowbar;end()` if not found&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *needle*
| The substring to search for&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
