bsl::basic_string::starts_with

Return true if this string starts with the specified character.

Synopsis

Declared in <bslstl_string.h>

bool
starts_with(CHAR_TYPE character) const noexcept;

Return Value

true if this string starts with the sequence, otherwise false

Parameters

NameDescription
charactercharacter value