boost::urls::decode_view::starts_with

Checks if the string begins with the given prefix

Synopses

Checks if the string begins with the given prefix

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

Checks if the string begins with the given prefix

bool
starts_with(char ch) const noexcept;

Return Value

  • true if the decoded string starts with s

  • true if the decoded string starts with ch

Parameters

Name

Description

s

The string to search for

ch

The character to search for

Created with MrDocs