| Home | Libraries | People | FAQ | More

###### string::ends_with (1 of 2 overloads)

Return whether the string end with a string.

<h7> Synopsis </h7>

    bool
    ends_with(
        string_view s) const;

<h7> Description </h7>

Returns `true` if the string end with `s`, and `false` otherwise.

<h7> Complexity </h7>

Linear.

<h7> Parameters </h7>

Name | Description
--- | ---
`s` | The string to check for.