|
DiffMatchPatchDiffLinesToChars Method
|
Split two texts into a list of strings. Reduce the texts to a string of
hashes where each Unicode character represents one line.
Namespace: GSF.TextAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.261-beta+9650ae903f9e9379329c3458df90b6d86f193861
Syntaxprotected Object[] DiffLinesToChars(
string text1,
string text2
)
Protected Function DiffLinesToChars (
text1 As String,
text2 As String
) As Object()
protected:
array<Object^>^ DiffLinesToChars(
String^ text1,
String^ text2
)
member DiffLinesToChars :
text1 : string *
text2 : string -> Object[] function DiffLinesToChars(text1, text2);
View SourceParameters
- text1 String
- First string
- text2 String
- Second string
Return Value
Object
Three element Object array, containing the encoded text1, the
encoded text2 and the List of unique strings. The zeroth element
of the List of unique strings is intentionally blank.
See Also