startsWith overloads
Declared in <bdlb_stringviewutil.h>
Return true if the specified string begins with the specified character, and false otherwise.
static
bool
startsWith(
std::string_view const& string,
char character);
» more...
Return true if the specified string begins with the specified characters, and false otherwise.
static
bool
startsWith(
std::string_view const& string,
std::string_view const& characters);
» more...
See the overload above for contract.
static
bool
startsWith(
std::string_view const& string,
char const* characters);
» more...