You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

This function returns a number between 0 and 100 representing the percentage of similarity between two strings based on the Jaro Winkler similarity algorithm.

100 represents full equivalence, and 0 represents zero similarity between both string arguments.

Syntax
similarity(string s1, string s2 #Output: Number
Examples
Parser expressionDescription
similarity("JIRA Workflow Toolbox", "jira workflow toolbox")

This example returns a number : 100

similarity("JIRA Workflow Toolbox", "Jira WorflowTolbox")

This example returns a number : 97

similarity("My Gym. Childrens Fitness", "My Gym Children's Fitness Center")

This example returns a number : 92

similarity("D N H Enterprises Inc", "D & H Enterprises, Inc.")

This example returns a number : 91

similarity("ABC Corporation", "ABC Corp'")

This example returns a number : 92

similarity("Hello World!", "Bye bye World!")

This example returns a number : 69

similarity("I caught a lizard", "This is my giraffe")

This example returns a number : 51

Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
xxx

DATA TYPE

Parameter description.
Output

This function returns a NUMBER