LEVENSHTEIN_DISTANCE

Compute the Levenshtein distance between two strings.

Syntax 

LEVENSHTEIN_DISTANCE(string_one, string_two)

Examples 

Example 1

Input

{
  "my_action": {
    "name_one": "Smith",
    "name_two": "Simth"
  }
}

Formula

LEVENSHTEIN_DISTANCE(my_action.name_one, my_action.name_two)

Output

2
Was this helpful?