Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1.3 KB

Assorted.Utils.Text.StringExtensions.MatchingCharsWith.md

File metadata and controls

40 lines (25 loc) · 1.3 KB

StringExtensions.MatchingCharsWith(this string, string) Method

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.

Syntax

public static ValueTuple<int, int> MatchingCharsWith(this string source, string other)

Parameters

source: string
The source string.

other: string
The other string.

Return Value

ValueTuple<int, int>
A System.Tuple<T1, T2> that contains the number of leading and trailing matched Unicode characters.

Exceptions

Exception Description
System.ArgumentNullException source or other is null.

See Also


This document is generated by DG.