[#absl-Cord-StartsWith-07] = xref:absl.adoc[absl]::xref:absl/Cord.adoc[Cord]::StartsWith :relfileprefix: ../../ :mrdocs: `StartsWith` overloads == Synopses Declared in `<absl/strings/cord.h>` Determines whether the Cord starts with the passed string data `rhs`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:absl/Cord/StartsWith-06.adoc[StartsWith](std::string_view rhs) const; ---- [.small]#xref:absl/Cord/StartsWith-06.adoc[_» more..._]# Determines whether the Cord starts with the passed Cord `rhs`. [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..._]# == Return Value `true` if the Cord starts with `rhs`. == Parameters [cols="1,4"] |=== | Name| Description | *rhs* | The prefix string to test for. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#