Yields the longest suffix in common between both input strings. Pointer-wise, the returned result is a subset of input "a".
Declared in <absl/strings/match.h>
std::string_view
FindLongestCommonSuffix(
std::string_view a,
std::string_view b);
The longest common suffix, as a view into a.
| Name | Description |
|---|---|
| a | The first string to compare. |
| b | The second string to compare. |