boost::urls::grammar::string_view_base::starts_with :: Boost Libraries Documentation

# boost::urls::grammar::string_view_base::starts_with

Return true if a matching prefix exists

## Synopsis

Declared in `<boost/url/grammar/string_view_base.hpp>`

    constexpr
    bool
    starts_with(char x) const noexcept;

## Description

See `core::string_view::starts_with`

## Return Value

`true` if the prefix matches

## Parameters

Name | Description
x | The character to search for

Created with MrDocs