Return the result of comparing to another string.
constexpr int compare( size_type pos1, size_type n1, char const* s) const;
See core::string_view::compare
core::string_view::compare