== Why is this an issue? In {cpp}20, ``++std::string++`` and ``++std::string_view++`` gain new member functions ``++starts_with++`` and ``++ends_with++`` that compare their argument to the prefix and postfix of the string. These two functions introduce a standard, concise, and efficient way of checking the prefix and postfix for strings. The ad-hoc implementations predating {cpp}20 are often less readable, less efficient, and less reliable. This rule raises an issue when an ad-hoc implementation checks prefixes or postfixes of a string. === Noncompliant code example [source,cpp] ---- if (6 <= str.size() && str.substr(0, 6) == "prefix") { // Noncompliant std::cout <