GetStringEditDistance(strA As String, strB As String) As Integer

DocContent object

This method returns the edit distance between strA and strB. The edit distance is the minimum number of characters that must be deleted, edited, or inserted in one string in order for it to become identical to the other.

Examples:

GetStringEditDistance("FreeForm", "FreeForm") = 0

[Identical]

GetStringEditDistance("FreeForm", "Freeform") = 1 

[Case sensitive]

GetStringEditDistance("FreeForm", "Freedom") = 3 

[2 characters changed, 1 deleted]

The DocContent object