boost::urls::decode_view::ends_with :: Boost Libraries Documentation

# boost::urls::decode_view::ends_with

Checks if the string ends with the given prefix

## Synopses

Declared in `<boost/url/decode_view.hpp>`

Checks if the string ends with the given prefix

    bool
    ends_with(core::string_view s) const noexcept;

» more...

Checks if the string ends with the given prefix

    bool
    ends_with(char ch) const noexcept;

» more...

## Return Value

- `true` if the decoded string ends with `s`

- `true` if the decoded string ends with `ch`

## Parameters

Name | Description
--- | ---
s | The string to search for
ch | The character to search for

Created with MrDocs