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.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
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