cpp/string/basic string view/rfind

Finds the last substring equal to the given character sequence. Search begins at, i.e. the found substring must not begin in a position following. If npos or any value not smaller than size - 1 is passed as, whole string will be searched.

@1@ Finds the last occurrence of in this view, starting at position. @2@ Equivalent to. @3@ Equivalent to. @4@ Equivalent to.

Return value
Position of the first character of the found substring or npos if no such substring is found.

Complexity
O(size * v.size) at worst.