[#absl-Cord-Contains-0e]
= xref:absl.adoc[absl]::xref:absl/Cord.adoc[Cord]::Contains
:relfileprefix: ../../
:mrdocs:

`Contains` overloads

== Synopses

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

Determines whether the Cord contains the passed string data `rhs`&period;


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

[.small]#xref:absl/Cord/Contains-03.adoc[_» more&period;&period;&period;_]#

Determines whether the Cord contains the passed Cord `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:absl/Cord/Contains-09.adoc[Contains](xref:absl/Cord.adoc[Cord] const& rhs) const;
----

[.small]#xref:absl/Cord/Contains-09.adoc[_» more&period;&period;&period;_]#

== Return Value

`true` if the Cord contains `rhs`&period;

== Parameters

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


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