[#absl-EndsWith] = xref:absl.adoc[absl]::EndsWith :relfileprefix: ../ :mrdocs: Returns whether a given string `text` ends with `suffix`. == Synopsis Declared in `<absl/strings/match.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr bool EndsWith( std::string_view text, std::string_view suffix) noexcept; ---- == Return Value `true` if `text` ends with `suffix`, `false` otherwise. == Parameters [cols="1,4"] |=== | Name| Description | *text* | The string to test. | *suffix* | The suffix to look for. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#