[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.33 $ZLSD

Returns the Levenshtein distance between two arguments. The Levenshtein distance represents the minimum number of edits needed to change the first argument into the second argument.

Syntax

SET VAR=$ZLSD(arg1,arg2)

Example

SET VAR=$ZLSD("KITTENS","MITTENS") ; => 1


This document was generated on November 11, 2022 using texi2html 5.0.