cpp/string/basic string/starts with

Checks if the string begins with the given prefix. The prefix may be one of the following:

@1@ A string view (which may be a result of implicit conversion from another ). @2@ A single character. @3@ A null-terminated character string.

All three overloads effectively return, where is the parameter.

Return value
if the string begins with the provided prefix, otherwise.