Return true if string begins with the C-string characters.
Declared in <bdlb_stringviewutil.h>
static
bool
startsWith(
std::string_view const& string,
char const* characters);
See the overload above for contract.
true if string begins with characters, and false otherwise
| Name | Description |
|---|---|
| string | string view to test |
| characters | null-terminated prefix to match |