Returns whether a given ASCII string text starts with prefix, ignoring case in the comparison.
Declared in <absl/strings/match.h>
bool
StartsWithIgnoreCase(
std::string_view text,
std::string_view prefix) noexcept;
true if text starts with prefix ignoring case, false otherwise.
| Name | Description |
|---|---|
| text | The string to test. |
| prefix | The prefix to look for. |