bsl::basic_string::starts_with

starts_with overloads

Synopses

Declared in <bslstl_string.h>

Return true if this string starts with the specified character.

bool
starts_with(CHAR_TYPE character) const noexcept;
» more...

Return true if this string starts with the specified characterString.

bool
starts_with(basic_string_view<CHAR_TYPE, CHAR_TRAITS> characterString) const noexcept;
» more...

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

bool
starts_with(CHAR_TYPE const* characterString) const;
» more...