Click or drag to resize

DiffMatchPatchDiffCommonPrefix Method

Determine the common prefix of two strings.

Namespace: GSF.Text
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public int DiffCommonPrefix(
	string text1,
	string text2
)
View Source

Parameters

text1  String
First string
text2  String
Second string

Return Value

Int32
The number of characters common to the start of each string
See Also