cpp/string/basic string/contains

Checks if the string contains the given substring. The substring 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 are equivalent to, where is the parameter.

Return value
if the string contains the provided substring, otherwise.