Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

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" )

See also

This function checks for a license.

Created 18th August 2014, last changed 18th April 2016


Text.InvalidCharactersForEncoding - Text.Length

💬 Ask a question or report a problem