Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Text.JaroWinklerDistance

Calculates the string distance.

Component Version macOS Windows Linux Server iOS SDK
Text 2.9 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Text.JaroWinklerDistance"; a; b )   More

(old name: String.JaroWinklerDistance)

Parameters

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

Result

Returns difference.

Description

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

see also
http://en.wikipedia.org/wiki/Jaro–Winkler_distance

Examples

Calculate difference between two strings:

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

Example result: 0.1199

See also

This function checks for a license.

Created 18th August 2014, last changed 10th November 2023


Text.InvalidCharactersForEncoding - Text.Length