bsl::basic_string::starts_with

Return true if this string starts with the specified C-string.

Synopsis

Declared in <bslstl_string.h>

bool
starts_with(CHAR_TYPE const* characterString) const;

Return Value

true if this string starts with the sequence, otherwise false

Parameters

NameDescription
characterStringpointer to characters