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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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