Show / Hide Table of Contents

Method StringUtil.CommonSuffix


Overload

Returns the number of characters common to the end of each string.

public static int CommonSuffix(ReadOnlySpan<char> s1, ReadOnlySpan<char> s2)
Parameters
s1  (ReadOnlySpan<char>)
s2  (ReadOnlySpan<char>)
Returns
int