[#absl-Cord-StartsWith-07]
= xref:absl.adoc[absl]::xref:absl/Cord.adoc[Cord]::StartsWith
:relfileprefix: ../../
:mrdocs:

`StartsWith` overloads

== Synopses

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

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


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

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

Determines whether the Cord starts with the passed Cord `rhs`&period;


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

[.small]#xref:absl/Cord/StartsWith-0c.adoc[_» more&period;&period;&period;_]#

== Return Value

`true` if the Cord starts with `rhs`&period;

== Parameters

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


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