bsl::basic_string<char>::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 character) const noexcept;
» more...

Return true if this string starts with the specified characterString.

bool
starts_with(basic_string_view<char, char_traits<char>> characterString) const noexcept;
» more...

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

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