Function: org-string-distance

org-string-distance is a for string-distance, defined in fns.c.

Signature

(org-string-distance STRING1 STRING2 &optional BYTECOMPARE)

Documentation

Return Levenshtein distance between STRING1 and STRING2.

The distance is the number of deletions, insertions, and substitutions required to transform STRING1 into STRING2. If BYTECOMPARE is nil or omitted, compute distance in terms of characters. If BYTECOMPARE is non-nil, compute distance in terms of bytes. Letter-case is significant, but text properties are ignored.

Aliases

org-string-distance org-babel-edit-distance (obsolete since 9.5)