YouTrack Standalone 2020.6 Help

strings

This module provides support for a specific string utility from the standard Java library. All of the other methods that you can use to work with strings in workflows are taken from the standard JavaScript library and behave as described in the MDN documentation.

Functions


getLevenshteinDistance

static getLevenshteinDistance(str1, str2)

Returns the Levenshtein distance between two strings. Delegates to org.apache.commons.text.similarity.LevenshteinDistance.

Parameters

Name

Type

Description

str1

string

The first string.

str2

string

The string that is compared to the first string.

 

Last modified: 30 March 2021