Namespace: Assorted.Utils.Text
Assembly: Assorted.Utils (Assorted.Utils.dll) version 1.1.0.0
Returns the number of leading and trailing Unicode characters that appear in both strings.
public static ValueTuple<int, int> MatchingCharsWith(this string source, string other)
source
: string
The source string.
other
: string
The other string.
ValueTuple<int, int>
A System.Tuple<T1, T2>
that contains the number of leading and trailing matched Unicode characters.
Exception | Description |
---|---|
System.ArgumentNullException | source or other is null . |
This document is generated by DG.