UtilStringGetDiff Method
Gets the character differences between two strings.
Namespace: DevCase.Core.DataProcessing.CommonAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static SortedDictionary<int, CharDiff> GetDiff(
string originalText,
string currentText
)
Public Shared Function GetDiff (
originalText As String,
currentText As String
) As SortedDictionary(Of Integer, CharDiff)
Dim originalText As String
Dim currentText As String
Dim returnValue As SortedDictionary(Of Integer, CharDiff)
returnValue = UtilString.GetDiff(originalText,
currentText)
public:
static SortedDictionary<int, CharDiff>^ GetDiff(
String^ originalText,
String^ currentText
)
static member GetDiff :
originalText : string *
currentText : string -> SortedDictionary<int, CharDiff>
No code example is currently available or this language may not be supported.
- originalText String
-
The original text to compare.
- currentText String
-
The current text to compare with originalText.
SortedDictionaryInt32,
CharDiff
An
SortedDictionaryTKey, TValue that contains the
difference state of all the characters in
currentText.