Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides
New in version: 5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2    Statistic  

Text.JaroWinklerDistance

Calculates the string distance.

Component: Text
Version: 2.9
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: Yes

MBS( "Text.JaroWinklerDistance"; a; b )

(old name: String.JaroWinklerDistance)

Parameters

Parameter Description Example value
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" )


Text.InvalidCharactersForEncoding   -   Text.LevenshteinDistance

Feedback: Report problem or ask question.




Links
MBS Realbasic Chart Plugins - Pfarrgemeinde Ministranten Nickenich