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.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
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