Return true if a matching prefix exists

Synopsis

Declared in header </boost/url/grammar/string_view_base.hpp#L419[boost/url/grammar/string_view_base.hpp,window=blank_]>

constexpr
bool
starts_with(string_view x) const noexcept;

Description

See core::string_view::starts_with

Return Value

  • bool

Parameters

Name Type

x

string_view