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.181-beta
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