Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page properties
hiddentrue



Status
Tech review

Status
titletodo

Style guide

Status
titletodo

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


Short description

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

Output

Status
subtletrue
titlenumber

Available since

Status
subtletrue
colourBlue
title2.2.29




UI Text Box
sizemedium
typeinfo

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.


Code Block
languagebash
titleSyntax
linenumberstrue
similarity(string s1, string s2) #Output: Number


UI Expand
titleExamples


Parser expressionDescription


Code Block
similarity("JIRA Workflow Toolbox", "jira workflow toolbox")


This example returns a the number : 100


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


This example returns a the number : 97


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


This example returns a the number : 92


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


This example returns a the number: 91


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


This example returns a the number : 92


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


This example returns a the number : 69


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


This example returns a the number: 51



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
xxx

Status
subtletrue
titledata type

Parameter description.
xxx

Status
subtletrue
titledata type

Parameter description.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titlenumber