Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5    Statistic  


Calculates the string distance.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Text 2.9 Yes Yes Yes Yes Yes
MBS( "Text.LevenshteinDistance"; a; b )   More

(old name: String.LevenshteinDistance)


Parameter Description Example value
a First text string. "Hello"
b Second text string. "Hallo"


Returns difference.


Calculates the string distance.
Value is normalized, so 0.0 is equal text and 1.0 is totally unequal.

see also


Calculate difference between two strings:

MBS( "Text.LevenshteinDistance"; "Hello"; "Hallo" )

Example result: 0.2

See also

Created 18th August 2014, last changed 19th July 2017

Text.Length   -   Text.ListWords

Feedback: Report problem or ask question.

MBS FileMaker Plugins